Sha256: fc33be47636f3587ce3a2608bfeecb8e9cefd6cc97cd84da404b508d946d6249

Contents?: true

Size: 687 Bytes

Versions: 10

Compression:

Stored size: 687 Bytes

Contents

<h1>Edit <%= @name_singular_camel %></h1>

<%%= error_messages_for :<%= @name_singular %> %>

<%% form(<%= @name_singular %>s_update_url(:id => @<%= @name_singular %>.id), :class => "edit_<%= @name_singular %>", :id => "edit_<%= @name_singular %>", :method => :put) do %>
<% for column in columns -%>
<% unless column.column_name == "created_at" || column.column_name == "updated_at" -%>
  <p>
    <b><%= column.column_name.singular.camelcase %></b><br />
    <%= column.form_field %>
  </p>
<% end -%>
<% end -%>
  <p>
    <input id="<%= @name_singular %>_submit" name="commit" type="submit" value="Update" />
  </p>
<%% end %>

<%%= link_to("Back", <%= @name_singular %>s_index_url) %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
mack-active_record-0.5.1 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.6.0 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.5.0 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.5.5 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.6.0.1 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.6.1.1 lib/mack-active_record/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.6.1 lib/mack-active_record/scaffold_generator/templates/app/views/edit.html.erb.template
mack-active_record-0.6.1.2 lib/mack-active_record/scaffold_generator/templates/app/views/edit.html.erb.template
mack-data_mapper-0.5.0 lib/scaffold_generator/templates/app/views/edit.html.erb.template
mack-data_mapper-0.5.1 lib/scaffold_generator/templates/app/views/edit.html.erb.template