impress/app/views/neopets_page_import_tasks/new.html.haml
Emi Matchu 73e0b3bb3c Remove some silly view template caching calls
When I was trying to debug slow view code one time long long ago, I was
like "let's cache any part of the template that's static!"

And like. no that's silly, I don't trust that this speeds anything up,
but it _definitely_ adds complexity. Let's just not.
2024-09-20 18:08:11 -07:00

66 lines
2.1 KiB
Text

- title t('.title', :name => @import_task.page.name, :index => @import_task.page.expected_index)
- content_for :before_flashes do
= link_to t('.your_items_link'), user_closet_hangers_path(current_user), :id => 'back-to-items'
= form_for @import_task, :html => {:id => 'closet-page-form'} do |f|
#closet-page-frame-wrapper
%span
%strong
= t '.frame_header', :name => @import_task.page.name,
:index => @import_task.page.expected_index
%iframe#closet-page-frame{:src => @import_task.page.url}
#closet-page-source
= fields_for @import_task.page do |p|
= p.label :source, t('.source_header')
= p.text_area :source
= f.select :list_id, neopets_page_list_options(current_user)
= f.submit t('.submit')
%p
= t '.help.welcome', :name => @import_task.page.name
= t '.help.intro', :name => @import_task.page.name
%ol
%li
= twl '.help.check_frame.header', :page_link_url => @import_task.page.url,
:name => @import_task.page.name, :index => @import_task.page.expected_index
%ul
%li
%strong= t '.help.check_frame.check_login.summary'
= t '.help.check_frame.check_login.details'
%li
%strong
= twl '.help.check_frame.login.summary',
:login_link_url => neopets_login_url
= twl '.help.check_frame.login.details',
:login_link_url => neopets_login_url
%li
%strong
= t '.help.check_frame.check_content.summary',
:name => @import_task.page.name
= t '.help.check_frame.check_content.details'
%li
= t '.help.view_source.header'
%ul
%li
= t '.help.view_source.chrome_html'
%li
= t '.help.view_source.firefox_html'
%li
= t '.help.view_source.other'
%li
= twl '.help.view_source.troubleshooting',
:page_link_url => @import_task.page.url
%li
= t '.help.copy_source.header'
%ul
%li
= t '.help.copy_source.shortcuts'
%li
= t '.help.submit.header'
%ul
%li
= t '.help.submit.description', :name => @import_task.page.name