% if (habit_type==1) { %> <% } else if (habit_type==4) { %> <% } else { %> /> <% } %> <%= name %><%= habit_type==4 ? "($"+score+")" : '' %>