Sha256: 6420f11e6a966aca1c8d07d1549dde54446aa271c804940bf8f80083198ebcf3

Contents?: true

Size: 856 Bytes

Versions: 1

Compression:

Stored size: 856 Bytes

Contents

<%= render 'spree/admin/shared/pages_tabs' %>

<% admin_breadcrumb(link_to plural_resource_name(Spree::Page), spree.admin_pages_path) %>

<% content_for :page_title do %>
  <%= t("spree.new_page") %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_to t("spree.back_to_static_pages_list"), spree.admin_pages_path %>
  </li>
<% end %>

<%= render "spree/shared/error_messages", :target => @page %>

<div data-hook='admin_page_new_form'>
  <%= form_for [:admin, @page] do |f| %>
    <fieldset class='no-border-top'>
      <%= render partial: 'form', locals: { f: f } %>

      <div class='clear'></div>

      <% if can?(:create, Spree::Page) %>
        <div data-hook='admin_page_new_form_buttons'>
          <%= render partial: 'spree/admin/shared/new_resource_links' %>
        </div>
      <% end %>
    </fieldset>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_static_content-2.0.0 lib/views/backend/spree/admin/pages/new.html.erb