Sha256: 4e1184495b9d1d4e31543b0bd5baa7e2544a513769e6e7a265c6d68d3209c280
Contents?: true
Size: 617 Bytes
Versions: 9
Compression:
Stored size: 617 Bytes
Contents
<h1><%%= translate(:new, :default => "New {{model}}", :model => <%= class_name %>.human_name, :scope => [:railties, :scaffold]) %></h1> <%% form_for(@<%= singular_name %>) do |f| %> <%%= f.error_messages %> <% for attribute in attributes -%> <p> <%%= f.label :<%= attribute.name %> %><br /> <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %> </p> <% end -%> <p> <%%= f.submit translate(:create, :default => "Create", :scope => [:railties, :scaffold]) %> </p> <%% end %> <%%= link_to translate(:back, :default => 'Back', :scope => [:railties, :scaffold]), <%= plural_name %>_path %>
Version data entries
9 entries across 9 versions & 2 rubygems