2013-12-26 09:49:49 +00:00
|
|
|
<p id="notice"><%= notice %></p>
|
|
|
|
|
|
|
|
<p>
|
2013-12-26 10:25:02 +00:00
|
|
|
<h2><%= @extension.title %></h2>
|
2013-12-26 09:49:49 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2013-12-26 10:25:02 +00:00
|
|
|
<strong>Author: </strong>
|
2013-12-26 09:49:49 +00:00
|
|
|
<%= @extension.author %>
|
|
|
|
</p>
|
|
|
|
|
2013-12-26 10:25:02 +00:00
|
|
|
<p>
|
|
|
|
<strong>Description: </strong>
|
|
|
|
<%= @extension.description.html_safe %>
|
|
|
|
</p>
|
|
|
|
<br/>
|
|
|
|
<p>
|
|
|
|
<strong>Preview: </strong><br/>
|
|
|
|
<%=image_tag @extension.preview, :width => 600, :height => 300 %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p><%=link_to 'Download', @extension.extension.url, :class=> 'btn btn-success'%></p>
|
|
|
|
<%if user_signed_in? %>
|
2013-12-26 09:49:49 +00:00
|
|
|
<%= link_to 'Edit', edit_extension_path(@extension) %> |
|
|
|
|
<%= link_to 'Back', extensions_path %>
|
2013-12-26 10:25:02 +00:00
|
|
|
<% end %>
|