1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/closet_lists/_form.html.haml
Emi Matchu 1cbcb5bcd6 Add trade warning to closet list form
Just a lil blurb to make sure it's clear that NC sales and stuff are
forbidden! I imagine the people doing it know this, but I want to make
sure we're being explicit, in case there's any element of
miscommunication.
2024-04-16 16:53:30 -07:00

34 lines
1.2 KiB
Text

- secondary_nav do
= link_to t('.your_items_link'), user_closet_hangers_path(current_user), :class => 'button'
= form_for [@closet_list.user, @closet_list],
html: {data: {"list-visibility" => @closet_list.visibility}} do |f|
%ul.fields
%li
= f.label :name
%span.hint= t '.name.hint'
= f.text_field :name, :required => true
%li
= f.label :hangers_owned, t('.hangers_owned.label')
= f.select :hangers_owned, hangers_owned_options
%li
= f.label :visibility, t('.visibility.label')
= f.select :visibility, long_closet_visibility_choices(:list)
%li
= f.label :description
%span.hint= t '.description.hint'
= f.text_area :description
%span.hint= t '.description.markup_hint_html'
%li.trade-warning
:markdown
Please use these lists *only* for real NC trades, negotiated on
Neopets.com! We need to keep users safe, so we'll delete *any* list
that seems suspicious.
If you're doing something more creative, please do so in another
setting, where traders can better manage reputation and trust. Thank
you!
= f.submit t('.submit')
- content_for :javascripts do
= javascript_include_tag "closet_lists/form"