Don't show the list filter for petpage exports if you have no lists
This commit is contained in:
parent
4bc38db5aa
commit
40a3f5bf68
1 changed files with 16 additions and 15 deletions
|
@ -7,7 +7,8 @@
|
||||||
%p= twl '.instructions',
|
%p= twl '.instructions',
|
||||||
:edit_petpage_link_url => 'https://www.neopets.com/edithomepage.phtml'
|
:edit_petpage_link_url => 'https://www.neopets.com/edithomepage.phtml'
|
||||||
|
|
||||||
= form_tag petpage_user_closet_hangers_path(@user), :method => :get, :id => 'petpage-closet-lists' do
|
- unless @closet_lists_by_owned.values.all?(&:empty?)
|
||||||
|
= form_tag petpage_user_closet_hangers_path(@user), :method => :get, :id => 'petpage-closet-lists' do
|
||||||
= hidden_field_tag 'filter', '1'
|
= hidden_field_tag 'filter', '1'
|
||||||
- @closet_lists_by_owned.each do |owned, closet_lists|
|
- @closet_lists_by_owned.each do |owned, closet_lists|
|
||||||
%div
|
%div
|
||||||
|
|
Loading…
Reference in a new issue