app/views/manage/resource/index.html.slim in manage-1.3.5 vs app/views/manage/resource/index.html.slim in manage-1.3.6
- old
+ new
@@ -1,7 +1,9 @@
-nav
- = link_to t('manage.actions.new', model: resource_class.model_name.human), [:new, resource_class.name.tableize.singularize], class: 'button small secondary'
- = yield(:index_navigation) if content_for? :index_navigation
+- if content_for? :index_topbar
+ nav
+ = link_to t('manage.actions.new', model: resource_class.model_name.human), [:new, resource_class.name.tableize.singularize], class: 'button small secondary'
+- else
+ = yield(:index_topbar)
= render "manage/resource/index/scopes"
.row
.columns.large-9