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

17 lines
894 B
Plaintext
Raw Normal View History

2014-03-14 06:37:59 +00:00
<!-- <div class="row">
2013-12-25 10:39:05 +00:00
<% @templates.each do |template| %>
<div class="col-lg-4">
<h3><%=link_to template.title, template %></h3>
<p><b>Author:</b> <%= template.author %></p>
<p><%=image_tag template.preview.thumb.url%></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>
2014-03-14 06:37:59 +00:00
<%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} %>