app/views/manage/resource/show.html.slim in manage-1.3.10 vs app/views/manage/resource/show.html.slim in manage-1.3.11
- old
+ new
@@ -1,8 +1,9 @@
nav
- = link_to t('manage.actions.index', model: resource_class.model_name.human(count: 2)), resource.class, class: 'button small secondary'
- |
- = link_to t('manage.actions.edit'), [:edit, resource], class: 'button small'
+ = [ link_to(t('manage.actions.index', model: resource_class.model_name.human(count: 2)), resource.class, class: 'button small secondary'),
+ link_to(t('manage.actions.edit'), [:edit, resource], class: 'button small'),
+ resource_actions(resource),
+ ].compact.join(' '.html_safe)
article
dl
- resource_class.attribute_names.each do |attr|
dt= resource_class.human_attribute_name(attr)
\ No newline at end of file