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" %>
|
<%= submit_tag "Search" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br/>
|
<br/>
|
||||||
<% if @customers.present? or !@customers.nil? %>
|
<% if @customers.present? %>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<% @customers.each do |c| %>
|
<% @customers.each do |c| %>
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<div class="actions">
|
||||||
|
<%= will_paginate @customers %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>There are no customers containing the term(s) <%= params[:search] %>.</p>
|
<p>There are no customers containing the term(s) <%= params[:search] %>.</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -26,6 +30,5 @@
|
|||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<%= will_paginate @customers %>
|
|
||||||
<%= button_to "New", new_customer_path, method: :get %>
|
<%= button_to "New", new_customer_path, method: :get %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user