Sha256: d98b0904b51c8286cbab0887e543bd519e407664868e63418d2380dd07c24abe

Contents?: true

Size: 546 Bytes

Versions: 4

Compression:

Stored size: 546 Bytes

Contents

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

<%= render :partial => 'admin/shared/page_tabs', :locals => {:current => 'Contents'} %>

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

<h2><%= t('.edit_content') %></h2>

<%= form_for([:admin, @page, @content], :html => { :multipart => true }) do |f| %>
  <%= render "form", :form => f %>
  <p class="form-buttons">
    <%= button t("update") %> <%= t('or') %> <%= link_to t('cancel'), collection_url %>
  </p>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_essential_cms-0.1.2 app/views/admin/contents/edit.html.erb
spree_essential_cms-0.2.1 app/views/admin/contents/edit.html.erb
spree_essential_cms-0.2.0 app/views/admin/contents/edit.html.erb
spree_essential_cms-0.1.0 app/views/admin/contents/edit.html.erb