2014-03-14 06:37:59 +00:00
|
|
|
<!-- <div class="row">
|
2013-12-25 10:39:05 +00:00
|
|
|
<% @templates.each do |template| %>
|
2013-12-26 09:49:49 +00:00
|
|
|
<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 »'.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} %>
|