Sha256: 6d7b347002b3155b1b4838e7e592ccea682a16f921bbe4de0e9b3d14cca644f0
Contents?: true
Size: 616 Bytes
Versions: 9
Compression:
Stored size: 616 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