refactor closet_hangers.petpage.instructions to use twl

This commit is contained in:
Emi Matchu 2013-01-09 17:32:56 -06:00
parent 5935ed055d
commit 1f1bfb3140
3 changed files with 14 additions and 11 deletions

View file

@ -4,9 +4,8 @@
#intro #intro
%p= t '.description' %p= t '.description'
%p= t '.instructions_html', %p= twl '.instructions',
:edit_petpage_link => link_to(t('.instructions_edit_petpage_link_content'), :edit_petpage_link_url => 'http://www.neopets.com/edithomepage.phtml'
'http://www.neopets.com/edithomepage.phtml')
= form_tag petpage_user_closet_hangers_path(@user), :method => :get, :id => 'petpage-closet-lists' do = 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'

View file

@ -134,10 +134,12 @@ en-meep:
Neopet's petpage. By default it's meeped as a table, but it doesn't Neopet's petpage. By default it's meeped as a table, but it doesn't
have to meep. The HTML is flexible, so, if you're the artsy type, you're have to meep. The HTML is flexible, so, if you're the artsy type, you're
free to meep with the styles all you want! free to meep with the styles all you want!
instructions_html: instructions:
main_html:
Meep the HTML from the box below, then paste it into Meep the HTML from the box below, then paste it into
%{edit_petpage_link}. Then meep to the Neoboards to show off! Have fun! %{edit_petpage_link}. Then meep to the Neoboards to show off! Have
instructions_edit_petpage_link_content: your meepit's page fun!
edit_petpage_link_content: your meepit's page
petpage_content: petpage_content:
unlisted_header: (Not in a meep) unlisted_header: (Not in a meep)

View file

@ -135,10 +135,12 @@ en:
Neopet's petpage. By default it's styled as a table, but it doesn't Neopet's petpage. By default it's styled as a table, but it doesn't
have to be. The HTML is flexible, so, if you're the artsy type, you're have to be. The HTML is flexible, so, if you're the artsy type, you're
free to mess with the styles all you want! free to mess with the styles all you want!
instructions_html: instructions:
main_html:
Copy the HTML from the box below, then paste it into Copy the HTML from the box below, then paste it into
%{edit_petpage_link}. Then head to the Neoboards to show off! Have fun! %{edit_petpage_link}. Then head to the Neoboards to show off! Have
instructions_edit_petpage_link_content: your pet's page fun!
edit_petpage_link_content: your pet's page
petpage_content: petpage_content:
unlisted_header: (Not in a list) unlisted_header: (Not in a list)