%= edit_form_for(@bulk_update_request) do |f| %> <%= error_messages_for("bulk_update_request") %>
Request aliases or implications using the format shown below. An alias makes the first tag a synonym for the second tag. An implication makes the first tag automatically add the second tag. A mass update replaces the first tag with the second tag without making it a permanent alias.
<% if @bulk_update_request.new_record? && @bulk_update_request.forum_topic.present? %> This request will be attached to <%= link_to "topic ##{@bulk_update_request.forum_topic_id}: #{@bulk_update_request.forum_topic.title}", @bulk_update_request.forum_topic %>. <%= f.input :forum_topic_id, as: :hidden, input_html: { value: params.dig(:bulk_update_request, :forum_topic_id) } %> <% elsif @bulk_update_request.new_record? && @bulk_update_request.forum_topic.blank? %> This request will create a new forum topic. To attach this request to an existing topic, find the forum topic and click "Request alias/implication" at the top of the page. <%= f.input :title, label: "Forum Title", as: :string %> <% end %>
<%= f.input :script, label: "Request", as: :text, placeholder: bur_script_example, input_html: { size: "50x15" } %> <% if @bulk_update_request.new_record? %>You can ignore the wiki page and minimum count requirements