Sha256: 50409c38094e6a1e8866a9dae78e56175dbb1e3a24d59a8a9a69afd1a3bf70af

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

<%= render :partial => 'admin/shared/contents_sub_menu' %>

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

<h1><%= t('.new_page') %></h1>

<%= form_for([:admin, @page], :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

3 entries across 3 versions & 1 rubygems

Version Path
spree_essential_cms-0.1.2 app/views/admin/pages/new.html.erb
spree_essential_cms-0.2.1 app/views/admin/pages/new.html.erb
spree_essential_cms-0.2.0 app/views/admin/pages/new.html.erb