Removed Download buttons

This commit is contained in:
Saurabh Bhatia 2014-01-23 17:25:24 +08:00
parent 74af75f016
commit fb09e7aa59
2 changed files with 0 additions and 2 deletions

View File

@ -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 &raquo;'.html_safe ,extension, :class=>"btn btn-primary"%></p> <p><%= link_to 'View details &raquo;'.html_safe ,extension, :class=>"btn btn-primary"%></p>
</div> </div>
<%end%> <%end%>

View File

@ -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 %>