Sha256: b7dbcca040b497aeb83b204323e31080898428fa7fc180052297400ef0a82448

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

<p id="notice"><%%= notice %></p>

<%- attributes.each do |attribute| -%>
<p>
  <b><%= attribute.human_name %>:</b>
<%- if attribute.type == :integer or attribute.type == :decimal -%>
  <%%= number_with_delimiter @<%= singular_table_name %>.<%= attribute.name %> %>
<%- else -%>
  <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
<%- end -%>
</p>

<%- end -%>
<%%= link_to 'Editar', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> |
<%%= link_to 'Listado', <%= index_helper %>_path %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rieles-0.0.8 lib/templates/erb/scaffold/show.html.erb
rieles-0.0.7 lib/templates/erb/scaffold/show.html.erb
rieles-0.0.6 lib/templates/erb/scaffold/show.html.erb
rieles-0.0.5 lib/templates/erb/scaffold/show.html.erb