Sha256: afe3c8774cccc45f1fa817f735684651e5abcf4bd5c26824d949e757d58433ce
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
<div class='toolbar'> <ul class='actions'> <li> <p><%= button_link_to "New Retailer", new_object_url, :icon => 'add' %></p> </li> </ul> <br class='clear' /> </div> <h1>Listing Retailers</h1> <table class="index"> <thead> <tr> <th><%= order @search, :by => :name %></th> <th><%= order @search, :by => :address %></th> <th><%= order @search, :by => :email %></th> <th><%= order @search, :by => :phone %></th> <th><%= t("action") %></th> </tr> </thead> <tbody> <%- @collection.each do |retailer|%> <tr id="<%= dom_id retailer %>"> <td width="200px"><%= link_to retailer.name, object_url(retailer) %></td> <td><%= retailer.address %></td> <td><%= retailer.email %></td> <td><%= retailer.phone %></td> <td> <%= link_to_edit retailer %> <%= link_to_delete retailer %> </td> </tr> <% end %> </tbody> </table> <%= will_paginate(:prev => "« #{t('previous')}", :next => "#{t('next')} »") %> <% content_for :sidebar do %> <%= form_for @search do |f| %> <div class="box"> <h3><%= t(:search) %></h3> <p> <%= t("name") %><br /> <%= f.text_field :name_contains, :size=> 18 %> </p> <p><%= button t("search") %></p> </div> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_retailers-0.40.0.2 | app/views/admin/retailers/index.html.erb |