Sha256: b2bbcd4b9fef6534ddd39ede85bc754bc70626e56145c1bfda41a5d24da45759

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

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

%h1= t('spree.admin.menus.new_menu')

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

Version data entries

3 entries across 3 versions & 1 rubygems

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