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

Version Path
mechanize_store-0.0.19 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.18 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.17 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.16 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.15 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.14 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.13 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.12 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.11 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.10 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.8 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.7 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.6 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.5 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.4 lib/templates/erb/scaffold/show.html.erb
mechanize_store-0.0.3 lib/templates/erb/scaffold/show.html.erb
mechanize-store-0.0.2 lib/templates/erb/scaffold/show.html.erb
mechanize-store-0.0.1 lib/templates/erb/scaffold/show.html.erb