admin/app/views/gaku/admin/schools/programs/_fields.html.slim in gaku-0.1.1 vs admin/app/views/gaku/admin/schools/programs/_fields.html.slim in gaku-0.2.0
- old
+ new
@@ -2,9 +2,8 @@
td = program.description
td = link_to t(:'program_level.list'), [:show_program_levels,:admin, @school, program], remote: true, class: 'program-levels-list'
td = link_to t(:'program_syllabus.list'), [:show_program_syllabuses,:admin, @school, program], remote: true, class: 'program-syllabuses-list'
td = link_to t(:'program_specialty.list'), [:show_program_specialties,:admin, @school, program], remote: true, class: 'program-specialties-list'
-- if can_edit?
- td
- = ajax_link_to_edit [:edit, :admin, @school, program]
- = ajax_link_to_delete [:admin, @school, program]
+td
+ = ajax_link_to_edit [:edit, :admin, @school, program]
+ = ajax_link_to_delete [:admin, @school, program]