Sha256: d66e3dfeac5ecd158becb03bd4f6ae55c9cdb00596ee1a4e63d842cc73176e5e

Contents?: true

Size: 612 Bytes

Versions: 9

Compression:

Stored size: 612 Bytes

Contents

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

<h2><%= plural_name.humanize.capitalize %><%%= casein_pagination_details @<%= plural_name %> %></h2>

<%%= render :partial => 'casein/<%= plural_name %>/table', :locals => { :<%= plural_name %> => @<%= plural_name %> } %>

<div class="text-center">
	<%%= will_paginate @<%= plural_name %> %>
</div>

<%%= content_for :sidebar do %>
<% unless @read_only %>
	<li><%%= link_to "#{casein_show_icon "plus-sign"}Add a new <%= singular_name.humanize.downcase %>".html_safe, new_casein_<%= singular_name %>_path %></li>
<% end %>
<%% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
casein-5.1.1.5 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.1.4 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.1.3 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.1.2 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.1.1 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.1.0 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.1.0.0 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.0.1.0 lib/generators/casein/scaffold/templates/views/index.html.erb
casein-5.0.0.0 lib/generators/casein/scaffold/templates/views/index.html.erb