Sha256: c3744dccb104812d865aad48d664d81a8fd7c872e853c2c1d9744186ba18d427

Contents?: true

Size: 601 Bytes

Versions: 3

Compression:

Stored size: 601 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.buttons do %>
    <%= f.commit_button 'Submit' %>
  <% end -%>
<% end -%>

<%= render_optional_either('modify_after_form', 'new_after_form') %>
<%= render_optional('after_form') %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
easy_admin_ui-0.5.15 app/views/easy_admin_ui/new.html.erb
easy_admin_ui-0.5.14 app/views/easy_admin_ui/new.html.erb
easy_admin_ui-0.5.13 app/views/easy_admin_ui/new.html.erb