app/views/workarea/admin/navigation_menus/edit.html.haml in workarea-admin-3.4.45 vs app/views/workarea/admin/navigation_menus/edit.html.haml in workarea-admin-3.5.0.beta.1
- old
+ new
@@ -28,10 +28,10 @@
.property
%span.property__name
= t('workarea.admin.fields.active')
= inline_svg('workarea/admin/i18n.svg', class: 'svg-icon svg-icon--small') if locale_options.many? && Workarea.config.localized_active_fields
- = toggle_button_for 'menu[active]', @menu.active?
+ = render 'workarea/admin/shared/active_field', scope: 'menu', model: @menu
.workflow-bar
.grid.grid--middle
.grid__cell.grid__cell--20
= link_to t('workarea.admin.form.cancel'), navigation_menus_path, class: 'workflow-bar__button workflow-bar__button--delete'