1
0
Fork 0
forked from OpenNeo/impress

refactor closet_hangers.petpage.instructions to use twl

This commit is contained in:
Emi Matchu 2013-01-09 17:32:56 -06:00
parent 87920b4b94
commit a370000b3d
3 changed files with 14 additions and 11 deletions

View file

@ -4,9 +4,8 @@
#intro
%p= t '.description'
%p= t '.instructions_html',
:edit_petpage_link => link_to(t('.instructions_edit_petpage_link_content'),
'http://www.neopets.com/edithomepage.phtml')
%p= twl '.instructions',
:edit_petpage_link_url => 'http://www.neopets.com/edithomepage.phtml'
= form_tag petpage_user_closet_hangers_path(@user), :method => :get, :id => 'petpage-closet-lists' do
= 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
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!
instructions_html:
Meep the HTML from the box below, then paste it into
%{edit_petpage_link}. Then meep to the Neoboards to show off! Have fun!
instructions_edit_petpage_link_content: your meepit's page
instructions:
main_html:
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_content: your meepit's page
petpage_content:
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
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!
instructions_html:
Copy the HTML from the box below, then paste it into
%{edit_petpage_link}. Then head to the Neoboards to show off! Have fun!
instructions_edit_petpage_link_content: your pet's page
instructions:
main_html:
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_content: your pet's page
petpage_content:
unlisted_header: (Not in a list)