module-and-template-store/app/views/templates/index.html.erb

16 lines
835 B
Plaintext

<!-- <div class="row">
<% @templates.each do |template| %>
<div class="col-lg-4">
<h3><%=link_to template.title, template %></h3>
<p><b>Author:</b> <%= template.author %></p>
<p><%=link_to 'Download', template.template.url, :class=> 'btn btn-success'%></p>
<p><%= link_to 'View details &raquo;'.html_safe ,template, :class=>"btn btn-primary"%></p>
</div>
<%end%> -->
<%= render :partial => "shared/sort_bar" %>
<!-- New Templates List -->
<%= render :partial => "shared/item_cluster", :locals => {:type => "templates", :title => "New Templates", :moreLink => "#", :frequency => 12} %>
<!-- All Templates List -->
<%= render :partial => "shared/item_cluster", :locals => {:type => "templates", :title => "Preferential Templates", :moreLink => "#", :frequency => 12} %>