Html to slim in application