Sha256: 8b03c64c27a4ed236be7e1d49a69c1ba86a500a771b556ca3768ec5d2a81cd1e

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

<h1><%= class_name %> controller, show action</h1>

<p>Edit this file in <tt>app/views/<%= file_name %>/show.html.erb</tt></p>

<% for property in properties -%>
<p>
  <b><%= Extlib::Inflection.humanize(property.field) %>:</b>
  <%%=h @<%= singular_model %>.<%= property.getter %> %>
</p>

<% end -%>

<%%= link_to 'Edit',  url(:edit_<%= singular_model %>,  @<%= singular_model %>) %> |
<%%= link_to 'Back', url(:<%= plural_model %>) %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
merb_datamapper-0.9.4 lib/generators/templates/views/show.html.erb
merb_datamapper-0.9.5 lib/generators/templates/views/show.html.erb
merb_datamapper-0.9.6 lib/generators/templates/views/show.html.erb
merb_datamapper-0.9.7 lib/generators/templates/views/show.html.erb
merb_datamapper-0.9.8 lib/generators/templates/views/show.html.erb