Sha256: 980af84f50263b6ba46888fcbe8bd0e2de9212bcc6f5ba377f14f0cc73b27a6e

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_user"), new_object_url, :icon => 'add' %></p>
    </li>
  </ul>
  <br class='clear' />
</div>


<h1><%= t("listing_users") %></h1>


<table class="index">
  <thead>
    <th><%= order_by_link :email, :text => t("user") %></th>
    <th><%= t("action") %></th>
  </thead>
  <tbody>
    <%- @collection.each do |user|%>
    <tr>
      <td width="350px"><%=link_to user.email, object_url(user) %></td>
      <td>
      	<%= link_to_edit user %> &nbsp;
      	<%= link_to_delete user %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>

<%= page_links(:prev => "&#171; #{t('previous')}", :next => "#{t('next')} &#187;") if @search.page_count > 1 %>


<% content_for :sidebar do %>

  <% form_for [:admin, @search] do |f| %>
    <div class="box">
      <h3><%= t(:search) %></h3>
    <% f.fields_for @search.conditions do |user| %>
      <p>
        <%= t("email") %><br />
        <%= user.text_field :lower_of_email, :size=>18 %>
      </p>
      <p><%= button t("search") %></p>
  	<% end %>
  	</div>
  <% end %>

<% end %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/users/index.html.erb
spree-0.8.4 app/views/admin/users/index.html.erb
spree-0.8.5 app/views/admin/users/index.html.erb
spree-0.8.0 app/views/admin/users/index.html.erb
spree-0.8.1 app/views/admin/users/index.html.erb
spree-0.8.2 app/views/admin/users/index.html.erb
spree-0.8.3 app/views/admin/users/index.html.erb