Sha256: ae6fb56a437ee50fb5ae77ad65a36124245d31560b17af241ac523217ba05b0f
Contents?: true
Size: 537 Bytes
Versions: 18
Compression:
Stored size: 537 Bytes
Contents
<%%= title t("<%= singular_table_name %>") %> <%% content_for :right do -%> <li class="active"> <%%= link_to t(:edit), edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> </li> <li class="active"> <%%= link_to t(:back), <%= index_helper %>_path %> </li> <%% end -%> <% attributes.each do |attribute| -%> <p> <small><%%= t(:<%= attribute.name %>, scope: "activerecord.attributes.<%= singular_table_name %>") %>:</small> <h3><%%= @<%= singular_table_name %>.<%= attribute.name %> %></h3> </p> <% end -%>
Version data entries
18 entries across 18 versions & 2 rubygems