%= error_messages_for :collection %> <%= form_for(@collection, html: { multipart: true, class: "verbose post collection" }) do |collection_form| %>
* <%= ts('Required information') %>
<%= hidden_field_tag "owner_pseuds[]", [current_user.default_pseud.id] %>
<%= ts("%{minimum} to %{maximum} characters (A-Z, a-z, _, 0-9 only), no spaces, cannot begin or end with underscore (_)", minimum: ArchiveConfig.TITLE_MIN, maximum: ArchiveConfig.TITLE_MAX) %>
<%= ts("(text only)") %>
<%= ts("JPG, GIF, PNG") %>
<%= ts("You can also individually ") %> <% if @collection.new_record? %> <%= ts("Manage Items") %> <% else %> <%= link_to ts("Manage Items"), collection_items_path(@collection) %> <% end %> <%= ts(" in your collection.") %>
<%= allowed_html_instructions %>
<%= ts("Tip: if this is a subcollection or challenge, you don't need to repeat yourself: fields left blank will copy from your parent collection.") %>
<%= profile_form.text_area :intro, rows: 10, cols: 80, class: "observe_textlength" %> <%= live_validation_for_field('collection_collection_profile_attributes_intro', presence: false, maximum_length: ArchiveConfig.INFO_MAX) %> <%= generate_countdown_html("collection_collection_profile_attributes_intro", ArchiveConfig.INFO_MAX) %>
<%= profile_form.text_area :faq, rows: 10, cols: 80, class: "observe_textlength" %> <%= live_validation_for_field('collection_collection_profile_attributes_faq', presence: false, maximum_length: ArchiveConfig.INFO_MAX) %> <%= generate_countdown_html("collection_collection_profile_attributes_faq", ArchiveConfig.INFO_MAX) %>
<%= profile_form.text_area :rules, rows: 10, cols: 80, class: "observe_textlength" %> <%= live_validation_for_field('collection_collection_profile_attributes_rules', presence: false, maximum_length: ArchiveConfig.INFO_MAX) %> <%= generate_countdown_html("collection_collection_profile_attributes_rules", ArchiveConfig.INFO_MAX) %>
<%= ts('This will be sent out with assignments in a gift exchange challenge. Plain text only.') %>
<%= profile_form.text_area :assignment_notification, rows: 8, cols: 80, class: "observe_textlength", "aria-describedby" => "assignment-notification-field-description" %> <%= live_validation_for_field('collection_collection_profile_attributes_assignment_notification', presence: false, maximum_length: ArchiveConfig.SUMMARY_MAX) %> <%= generate_countdown_html("collection_collection_profile_attributes_assignment_notification", ArchiveConfig.SUMMARY_MAX) %>
<%= ts('This will be sent out with each work notification when you "reveal" a gift exchange or prompt meme. Plain text only.') %>
<%= profile_form.text_area :gift_notification, rows: 8, cols: 80, class: "observe_textlength", "aria-describedby" => "gift-notification-field-description" %> <%= live_validation_for_field('collection_collection_profile_attributes_gift_notification', presence: false, maximum_length: ArchiveConfig.SUMMARY_MAX) %> <%= generate_countdown_html("collection_collection_profile_attributes_gift_notification", ArchiveConfig.SUMMARY_MAX) %>