- <%= image_tag "http://#{APP_CONFIG['store_ip']}#{@template['thumb']}", :class => "item-thumb" %>
+ <%= image_tag "#{@store}#{@template['preview']['preview']['thumb']['url']}", :class => "item-thumb" %>
<%= @template['title'] %>
- <%= link_to 'free download', buy_template_admin_purchase_path(@template['id']), :id => "download" %>
+ <%= link_to "Download", "javascript:void(0);", "data-url" => @template['template']['template']['url'], :class=> 'btn btn-primary download-link' %>
description
-
<%= @template['intro'] %>
+
<%#= @template['intro'] %>
screen shot
- <% @template['screenshots'].each do |screenshot| %>
- <%= image_tag "http://#{APP_CONFIG['store_ip']}#{screenshot}", :class => "preview item-thumb" %>
- <% end %>
+