Sha256: 313111173564f8b6211d4d4b409bed74e9f8a83e88c9d0c709a3216c2cb5f246
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
<h1><%= controller_class_name %> controller, edit action</h1> <p>Edit this file in <tt>app/views/<%= file_name %>/edit.html.erb</tt></p> <%%= error_messages_for :<%= singular_model %> %> <%% form_for(@<%= singular_model %>, :action => url(:<%= singular_model %>, @<%= singular_model %>)) do %> <% for property in properties.select{|p| !p.key?} -%> <p> <b><%= DataMapper::Inflection.humanize(property.field) %></b><br /> <%%= <%= field_from_type(property.type) %> :<%= property.getter %> %> </p> <% end -%> <p> <%%= submit_button "Update" %> </p> <%% end %> <%%= link_to 'Show', url(:<%= singular_model %>, @<%= singular_model %>) %> | <%%= link_to 'Back', url(:<%= plural_model %>) %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thorero-gen-0.9.4 | templates/component/resource_controller/datamapper/app/views/%file_name%/edit.html.erb |