lib/generators/sass_zero/scaffold/templates/index.html.erb.tt in sass-zero-1.5.6 vs lib/generators/sass_zero/scaffold/templates/index.html.erb.tt in sass-zero-1.5.7
- old
+ new
@@ -2,15 +2,13 @@
<h1><%= human_name.pluralize %></h1>
<div id="<%= plural_table_name %>" class="push-md--bottom">
<%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
- <article class="push-lg--bottom">
- <%%= render <%= singular_table_name %> %>
- <p>
- <%%= link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(singular_table_name) %>, class: "btn btn--secondary" %>
- </p>
- </article>
+ <%%= render <%= singular_table_name %> %>
+ <p>
+ <%%= link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(singular_table_name) %>, class: "btn btn--secondary" %>
+ </p>
<%% end %>
</div>
<%%= link_to "New <%= human_name.downcase %>", <%= new_helper(type: :path) %>, class: "btn btn--primary" %>