Sha256: 2c329dc96c03aab904b73ed7e6543ec08f913ad94ab313b9fe7d95b17ddc6d5b
Contents?: true
Size: 633 Bytes
Versions: 6
Compression:
Stored size: 633 Bytes
Contents
<h1>New <%= @item.class.to_s.tableize.singularize.humanize %></h1> <%= render_optional_either('modify_after_title', 'new_after_title') %> <%= render_optional('after_title') %> <%= semantic_form_for(@item, url: eval("#{items_to_url([@parent_of_parent_item, @parent_item, @item].compact)}"), html: { multipart: true }) do |f| %> <%= f.inputs do %> <%= render :partial => 'form', :locals => {:f => f} %> <% end -%> <%= f.actions do %> <%= f.action :submit, as: :button, label: 'Submit' %> <% end -%> <% end -%> <%= render_optional_either('modify_after_form', 'new_after_form') %> <%= render_optional('after_form') %>
Version data entries
6 entries across 6 versions & 1 rubygems