Sha256: f2f59addea3b5ac2ac7cb3a9081c02fbdb956f806c8017605238846b99d42cd6
Contents?: true
Size: 833 Bytes
Versions: 1
Compression:
Stored size: 833 Bytes
Contents
<p id="notice"><%%= notice %></p> <% attributes.reject(&:password_digest?).each do |attribute| -%> <p> <strong><%= attribute.human_name %>:</strong> <% if attribute.attachment? -%> <%%= link_to @<%= singular_table_name %>.<%= attribute.column_name %>.filename, @<%= singular_table_name %>.<%= attribute.column_name %> %> <% elsif attribute.attachments? -%> <%% @<%= singular_table_name %>.<%= attribute.column_name %>.each do |<%= attribute.singular_name %>| %> <div><%%= link_to <%= attribute.singular_name %>.filename, <%= attribute.singular_name %> %></div> <%% end %> <% else -%> <%%= @<%= singular_table_name %>.<%= attribute.column_name %> %> <% end -%> </p> <% end -%> <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> | <%%= link_to 'Back', <%= index_helper %>_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
railties-6.0.0.rc1 | lib/rails/generators/erb/scaffold/templates/show.html.erb.tt |