Sha256: 6078d92d17d833e7ba83eb37d1bb70e76efb54410561fd3802ae35611d459a03

Contents?: true

Size: 384 Bytes

Versions: 6

Compression:

Stored size: 384 Bytes

Contents

<% if @example.try(:errors).present? %>
  <%= render 'spree/shared/error_messages', :target => @example %>
<% end %>

<h1>New Example</h1>

<%= form_for([:admin, @example], :html => { :multipart => true }) do |f| %>
  <%= render "form", :form => f %>

  <p class="form-buttons">
    <%= button t('create') %> <%= t('or') %> <%= link_to t('cancel'), collection_url %>
  </p>
<% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_essentials_jn-0.6.1 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
spree_essentials_jn-0.6.0 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
spree_essentials-0.5.0 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
spree_essentials-0.5.0.rc1 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
spree_essentials-0.4.0 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb
spree_essentials-0.4.0.rc3 test/spree_essential_example/app/views/spree/admin/examples/new.html.erb