Removed Download buttons
This commit is contained in:
parent
74af75f016
commit
fb09e7aa59
|
@ -4,7 +4,6 @@
|
||||||
<h3><%=link_to extension.title, extension %></h3>
|
<h3><%=link_to extension.title, extension %></h3>
|
||||||
<p><b>Author:</b> <%= extension.author %></p>
|
<p><b>Author:</b> <%= extension.author %></p>
|
||||||
<p><%=image_tag extension.preview.thumb.url%></p>
|
<p><%=image_tag extension.preview.thumb.url%></p>
|
||||||
<p><%=link_to 'Download', extension.extension.url, :class=> 'btn btn-success'%></p>
|
|
||||||
<p><%= link_to 'View details »'.html_safe ,extension, :class=>"btn btn-primary"%></p>
|
<p><%= link_to 'View details »'.html_safe ,extension, :class=>"btn btn-primary"%></p>
|
||||||
</div>
|
</div>
|
||||||
<%end%>
|
<%end%>
|
|
@ -24,7 +24,6 @@
|
||||||
<%=image_tag @extension.preview, :width => 600, :height => 300 %>
|
<%=image_tag @extension.preview, :width => 600, :height => 300 %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><%=link_to 'Download', @extension.extension.url, :class=> 'btn btn-success'%></p>
|
|
||||||
<%if user_signed_in? %>
|
<%if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_extension_path(@extension) %> |
|
<%= link_to 'Edit', edit_extension_path(@extension) %> |
|
||||||
<%= link_to 'Back', extensions_path %>
|
<%= link_to 'Back', extensions_path %>
|
||||||
|
|
Loading…
Reference in New Issue