add slim templates

converted erb templates to slim templates