Sha256: 9da579fd8c49f9b3857dd241319d0eba819858f9b10bf62c63e495c0ace540b8

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

- if @menu_bar.try(:errors).present?
  = render 'spree/shared/error_messages', :target => @menu_bar

%h1= t('spree.admin.menu_bars.new_menu_bar')

= form_for([:admin, @menu_bar], :html => { :multipart => true }) do |f|
  = render "form", :form => f
  %p.form-buttons
    = button t('create') 
    = t('or') 
    = link_to t('cancel'), collection_url
    
= render :partial => 'spree/admin/shared/spree_menus_sidebar'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_essential_menus-0.2.6 app/views/spree/admin/menu_bars/new.html.haml
spree_essential_menus-0.2.3 app/views/spree/admin/menu_bars/new.html.haml
spree_essential_menus-0.1.8 app/views/spree/admin/menu_bars/new.html.haml