2014-03-14 06:37:59 +00:00
|
|
|
<!-- <p id="notice"><%= notice %></p>
|
2013-12-25 10:39:05 +00:00
|
|
|
|
|
|
|
<p>
|
2013-12-26 10:25:02 +00:00
|
|
|
<h2><%= @template.title %></h2>
|
2013-12-25 10:39:05 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2013-12-26 10:25:02 +00:00
|
|
|
<strong>Author: </strong>
|
2013-12-25 10:39:05 +00:00
|
|
|
<%= @template.author %>
|
|
|
|
</p>
|
|
|
|
|
2013-12-26 10:25:02 +00:00
|
|
|
<br/>
|
|
|
|
<p>
|
|
|
|
<strong>Preview: </strong><br/>
|
|
|
|
<%=image_tag @template.preview, :width => 600, :height => 600 %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p><%=link_to 'Download', @template.template.url, :class=> 'btn btn-success'%></p>
|
|
|
|
<%if user_signed_in? %>
|
2013-12-25 10:39:05 +00:00
|
|
|
<%= link_to 'Edit', edit_template_path(@template) %> |
|
|
|
|
<%= link_to 'Back', templates_path %>
|
2013-12-26 10:25:02 +00:00
|
|
|
<% end %>
|
2014-03-14 06:37:59 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<%= render :partial => "shared/item_details", :locals => {:type => "templates"} %>
|