Sha256: 5297a52791d8a0e5366141b6c8446c1495e7abad483739d51cb09ef8e07626ba

Contents?: true

Size: 469 Bytes

Versions: 5

Compression:

Stored size: 469 Bytes

Contents

<%% @page_title = "Create <%= singular_name.humanize.downcase %>" %>
<h2>Create <%= singular_name.humanize.downcase %></h2>

<%% form_for(:<%= singular_name %>, :url => admin_<%= plural_name %>_path) do |f| %>
<%%= f.error_messages %>

<p>Please complete all fields marked <span class="required">*</span></p>

<%%= render :partial => 'form', :locals => {:f => f} %>
<p>
<%%= f.submit "Create <%= singular_name.humanize.downcase%>", :class => "create" %>
</p>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoulda_machinist_generator-0.4.4 rails_generators/shoulda_machinist_admin_scaffold/templates/admin/view_new.html.erb
shoulda_machinist_generator-0.4.3 rails_generators/shoulda_machinist_admin_scaffold/templates/admin/view_new.html.erb
shoulda_machinist_generator-0.4.2 rails_generators/shoulda_machinist_admin_scaffold/templates/admin/view_new.html.erb
shoulda_machinist_generator-0.4.1 rails_generators/shoulda_machinist_admin_scaffold/templates/admin/view_new.html.erb
shoulda_machinist_generator-0.4.0 rails_generators/shoulda_machinist_admin_scaffold/templates/admin/view_new.html.erb