File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 11<% return if @pagination.nil? %>
2-
3- <nav class ="pagination-container " aria-label ="Pagination ">
4- < div class ="previous ">
5- <%= prev_url ( @enhanced_query ) %>
6- </ div >
7- < div class ="center-elements ">
8- < div class ="first ">
9- <%= first_url ( @enhanced_query ) %>
10- </ div >
11- < div class ="current "> < span > <%= @pagination [ :start ] %> - <%= @pagination [ :end ] %> of <%= number_with_delimiter ( @pagination [ :hits ] ) %> </ span > </ div >
12- </ div >
13- < div class ="next ">
14- <%= next_url ( @enhanced_query ) %>
15- </ div >
16- </ nav >
2+ <div id ="pagination ">
3+ < nav class ="pagination-container " aria-label ="Pagination ">
4+ < div class ="previous ">
5+ <%= prev_url ( @enhanced_query ) %>
6+ </ div >
7+ < div class ="center-elements ">
8+ < div class ="first ">
9+ <%= first_url ( @enhanced_query ) %>
10+ </ div >
11+ < div class ="current "> < span > <%= @pagination [ :start ] %> - <%= @pagination [ :end ] %> of <%= number_with_delimiter ( @pagination [ :hits ] ) %> </ span > </ div >
12+ </ div >
13+ < div class ="next ">
14+ <%= next_url ( @enhanced_query ) %>
15+ </ div >
16+ </ nav >
17+ </ div >
Original file line number Diff line number Diff line change 3535 <% end %>
3636 </ ol >
3737 <%= render partial : "results_callouts" %>
38- < div id ="pagination ">
39- <%= render partial : "pagination" %>
40- </ div >
4138 <% elsif @errors . blank? %>
4239 < div class ="no-results ">
4340 < p class ="hd-2 "> No results found for your search</ p >
4946 </ div >
5047
5148 <% if @results . present? %>
49+ <%= render partial : "pagination" %>
5250 <%= render partial : 'shared/ask' , locals : { display : 'view-md' } %>
5351 <% end %>
5452 <% end %>
You can’t perform that action at this time.
0 commit comments