Sha256: 1002510a698d37dfd30acd27fd2a3c024963a966f5417c48d8441729bc854835

Contents?: true

Size: 662 Bytes

Versions: 9

Compression:

Stored size: 662 Bytes

Contents

<!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> -->

<h2>View <%= singular_name.humanize.downcase %></h2>

<%%= form_for @<%= file_name %>, :url => casein_<%= singular_name %>_path(@<%= singular_name %>) do |f| %>

	<%%= render :partial => 'casein/<%= plural_name %>/form', :locals => { :f => f } %>
	
	<p class="submits">
	  <%%= link_to 'Cancel', casein_<%= @plural_route %>_path, :class => 'cancel' %> or
		<%%= f.submit "Save changes", :class => "update" %>
	</p>

<%% end %>

<%%= content_for :sidebar do %>
	<li><%%= link_to "#{casein_show_icon "table"}Back to list".html_safe, casein_<%= @plural_route %>_path %></li>
<%% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
casein-4.0.0 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-4.0.0.beta1 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.11 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.10 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.9 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.8 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.7 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.6 lib/generators/casein/scaffold/templates/views/show.html.erb
casein-3.1.5 lib/generators/casein/scaffold/templates/views/show.html.erb