Sha256: 1089e039fa38d2cdd825d5f7112aabf7591b0ad116a3d7858d135edd9298ae4b
Contents?: true
Size: 623 Bytes
Versions: 9
Compression:
Stored size: 623 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("admin_#{@item.class.to_s.underscore.pluralize}_path"), :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
9 entries across 9 versions & 1 rubygems