Sha256: 9b264955a5a3628bf6ab3f27ebc1ed113940617e88e610f13935cc186e78e65f
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
<h1><%= controller_class_name %> controller, new action</h1> <p>Edit this file in <tt>app/views/<%= file_name %>/new.html.erb</tt></p> <%%= error_messages_for :<%= singular_model %> %> <%% form_for(@<%= singular_model %>, :action => url(:<%= plural_model %>) ) do |f| %> <% 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 "Create" %> </p> <%% end %> <%%= 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%/new.html.erb |