swap the homepage forms back in anticipation of Neopets.com uptime
This commit is contained in:
parent
8e3a2f59e9
commit
41da9d0629
2 changed files with 14 additions and 21 deletions
|
@ -47,14 +47,15 @@ body.outfits-new
|
||||||
left: 16px
|
left: 16px
|
||||||
legend
|
legend
|
||||||
margin-left: -16px
|
margin-left: -16px
|
||||||
#start-from-scratch
|
#load-pet-to-wardrobe
|
||||||
font-size: 175%
|
font-size: 175%
|
||||||
margin:
|
margin:
|
||||||
bottom: 1em
|
bottom: 1em
|
||||||
top: 1.5em
|
top: 1.5em
|
||||||
select
|
input
|
||||||
font-size: 67%
|
font-size: 67%
|
||||||
padding: .5em
|
padding: .5em
|
||||||
|
width: 10em
|
||||||
button
|
button
|
||||||
+loud-awesome-button
|
+loud-awesome-button
|
||||||
font-size: 67%
|
font-size: 67%
|
||||||
|
|
|
@ -13,32 +13,24 @@
|
||||||
%h1= t 'app_name'
|
%h1= t 'app_name'
|
||||||
%h2= t '.tagline'
|
%h2= t '.tagline'
|
||||||
|
|
||||||
- localized_cache "outfits#new start_from_scratch_form pranks_funny=#{Color.pranks_funny?}" do
|
|
||||||
= form_tag wardrobe_path, method: 'GET', id: 'start-from-scratch', authenticity_token: false do
|
|
||||||
%fieldset
|
|
||||||
-#%legend= t '.start_from_scratch.legend'
|
|
||||||
%legend Choose your pet's appearance
|
|
||||||
= pet_attribute_select 'color', @colors, 8
|
|
||||||
= pet_attribute_select 'species', @species
|
|
||||||
%button{:type => "submit"}
|
|
||||||
-#= t('.start_from_scratch.submit')
|
|
||||||
Plan outfit!
|
|
||||||
|
|
||||||
= form_tag remote_load_pet_path, method: 'GET', id: 'load-pet-to-wardrobe' do
|
= form_tag remote_load_pet_path, method: 'GET', id: 'load-pet-to-wardrobe' do
|
||||||
= hidden_field_tag 'impress_user', current_user.try(:id)
|
= hidden_field_tag 'impress_user', current_user.try(:id)
|
||||||
- localized_cache action_suffix: 'outfits#new main_load_pet_form_content' do
|
- localized_cache action_suffix: 'outfits#new main_load_pet_form_content' do
|
||||||
= hidden_field_tag 'redirect', "#{wardrobe_url}\#{q}"
|
= hidden_field_tag 'redirect', "#{wardrobe_url}\#{q}"
|
||||||
%fieldset
|
%fieldset
|
||||||
-#%legend= t '.load_pet.legend'
|
%legend= t '.load_pet.legend'
|
||||||
%legend
|
|
||||||
Or enter your pet's name (but, well,
|
|
||||||
= link_to 'downtime', 'https://www.facebook.com/notes/neopets/transition-update/757915977580469'
|
|
||||||
= succeed ')' do
|
|
||||||
%img{src: 'http://images.neopets.com/neoboards/smilies/tongue.gif'}
|
|
||||||
= pet_name_tag :id => 'main-pet-name'
|
= pet_name_tag :id => 'main-pet-name'
|
||||||
%button{:type => "submit"}
|
%button{:type => "submit"}
|
||||||
-#= t '.load_pet.submit'
|
= t '.load_pet.submit'
|
||||||
Go
|
|
||||||
|
- localized_cache "outfits#new start_from_scratch_form pranks_funny=#{Color.pranks_funny?}" do
|
||||||
|
= form_tag wardrobe_path, method: 'GET', id: 'start-from-scratch', authenticity_token: false do
|
||||||
|
%fieldset
|
||||||
|
%legend= t '.start_from_scratch.legend'
|
||||||
|
= pet_attribute_select 'color', @colors, 8
|
||||||
|
= pet_attribute_select 'species', @species
|
||||||
|
%button{:type => "submit"}
|
||||||
|
= t('.start_from_scratch.submit')
|
||||||
|
|
||||||
%ul#sections
|
%ul#sections
|
||||||
- localized_cache :action_suffix => 'your_items_module' do
|
- localized_cache :action_suffix => 'your_items_module' do
|
||||||
|
|
Loading…
Reference in a new issue