    <tr>
      <td>
        <a href="<%= admin_template_store_template_path(template["_slugs"][0]) %>">
          <img src="<%= @store_url + template['preview']['preview']['thumb']['url'] %>" class="item-thumb" />
          </a>
      </td>
      <td>
        <a href="<%= admin_template_store_template_path(template["_slugs"][0]) %>">
          <span class="item-info">
            <b class="item-name"><%= template['title'] %></b>
          </span>
        </a>
      </td>
      <td>
         <span class="item-price">Free</span>
      </td>
      <td>
          <% if @design_ids.include?(template["_id"]["$oid"]) %>
              <%= link_to "Installed", "javascript:void(0);", "data-url" => template['template']['template']['url'], :class=> 'btn btn-success download-link', "disabled"=>"disabled", "data-name"=>template['title'], "data-slug"=>template["_slugs"][0], "data-id"=>template["_id"]["$oid"] %>
            <% else %>
              <%= link_to "Download", "javascript:void(0);", "data-url" => template['template']['template']['url'], :class=> 'btn btn-primary download-link', "data-name"=>template['title'], "data-slug"=>template["_slugs"][0], "data-id"=>template["_id"]["$oid"] %>
            <% end %>
      </td>
    </tr>