Sha256: 8e38372a26532597706bc9e622cc926423c56cbb18ec41547bf6adb1ac9c840f

Contents?: true

Size: 434 Bytes

Versions: 10

Compression:

Stored size: 434 Bytes

Contents

<%% title "<%= plural_name.titleize %>" %>
<%- first_attribute = attributes.first -%>

<%%= will_paginate @<%= plural_name %> %>

<%% @<%= plural_name %>.each do |<%= singular_name %>| %>
	<div class="item">
				
		<h3><%%= link_to <%= singular_name %>.<%= first_attribute.name %>, view_<%= singular_name %>_path(<%= singular_name %>.<%= first_attribute.name %>) %></h3>

	</div>
<%% end -%>

<%%= will_paginate @<%= plural_name %> %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dust-generators-0.2.8 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.6 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.5 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.4 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.3 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.2 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.1 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.2.0 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.1.9 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb
dust-generators-0.1.8 rails_generators/dust_scaffold/templates/views/front_end/index.html.erb