Sha256: 9f0d348de964c0dfdec43f350d26bee8d0aab5ee86ae835a0296591fb85bee37
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
<% provide(:title, t("customers.index.title")) %> <%= render :partial => "navbar", :locals => { :active => :search } %> <div class="row"> <div class="span9"> <section id="index"> <div class="page-header"> <%= t("search.results")%> </div> <table class="table table-bordered table-striped"> <thead> <tr> <th><%= t("search.select") %></th> <th><%= t("customers.code") %></th> <th><%= t("customers.names") %></th> <th><%= t("customers.a_customer") %></th> <th><%= t("customers.enabled") %></th> <th><%= t("customers.complete") %></th> <th><%= t("helpers.forms.actions") %></th> </tr> </thead> <tbody> <% @customers.each do |c| %> <tr> <td><%= check_box_tag 'sels[]', c.id, @sels[c.id] %></td> <td><%= c.id %></td> <td><%= link_to c.name, customer_path(c) %></td> <td><span class="badge <%= c.a_customer? ? "badge-success" : "badge-important" %>"><%= format_boolean c.a_customer? %></td> <td><span class="badge <%= c.enabled ? "badge-success" : "badge-important" %>"><%= format_boolean c.enabled %></span></td> <td><span class="badge <%= c.complete? ? "badge-success" : "badge-important" %>"><%= format_boolean c.complete %></span></td> <td><%= link_to t("helpers.forms.show"), customer_path(c), :class => "btn" %></td> </tr> <% end %> </tbody> </table> </section> </div> <div class="span3"> <%= render :partial => "form_search", :locals => { :mode => (params[:search_mode_advanced] ? :advanced : :simple) } %> </div> <%= will_paginate %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | app/views/customers/index.html.erb |
guara-0.0.1.rc | app/views/customers/index.html.erb |