module-and-template-store/app/views/extensions/show.html.erb

30 lines
562 B
Plaintext
Raw Normal View History

<p id="notice"><%= notice %></p>
<p>
<h2><%= @extension.title %></h2>
</p>
<p>
<strong>Author:&nbsp;</strong>
<%= @extension.author %>
</p>
2014-01-22 03:12:22 +00:00
<p>
<strong>Version:&nbsp;</strong>
<%= @extension.version %>
</p>
<p>
<strong>Description:&nbsp;</strong>
<%= @extension.description.html_safe %>
</p>
<br/>
<p>
<strong>Preview:&nbsp;</strong><br/>
<%=image_tag @extension.preview, :width => 600, :height => 300 %>
</p>
<%if user_signed_in? %>
<%= link_to 'Edit', edit_extension_path(@extension) %> |
<%= link_to 'Back', extensions_path %>
<% end %>