mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update index.html.erb
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<%= submit_tag "Search" %>
|
||||
<% end %>
|
||||
<br/>
|
||||
<% if @customers.present? or !@customers.nil? %>
|
||||
<% if @customers.present? %>
|
||||
|
||||
<br/>
|
||||
<% @customers.each do |c| %>
|
||||
@@ -19,6 +19,10 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="actions">
|
||||
<%= will_paginate @customers %>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
<p>There are no customers containing the term(s) <%= params[:search] %>.</p>
|
||||
<% end %>
|
||||
@@ -26,6 +30,5 @@
|
||||
<br/>
|
||||
|
||||
<div class="actions">
|
||||
<%= will_paginate @customers %>
|
||||
<%= button_to "New", new_customer_path, method: :get %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user