Files
danbooru/app/views/bulk_update_requests/_form.html.erb

27 lines
750 B
Plaintext

<%= simple_form_for(@bulk_update_request) do |f| %>
<%= error_messages_for("bulk_update_request") %>
<%= f.input :title, :as => :string %>
<div class="input">
<label class="text optional" for="bulk_update_request_script">Script</label>
<pre class="hint">
Use the following format:
unalias aaa -> bbb
unimply aaa -> bbb
alias aaa -> bbb
imply aaa -> bbb
update aaa -> bbb
</pre>
<%= text_area :bulk_update_request, :script, :size => "50x10" %>
</div>
<div class="input">
<%= dtext_field "bulk_update_request", "reason", :name => "Reason" %>
</div>
<%= f.input :forum_topic_id, :hint => " (optional)" %>
<%= f.button :submit, :value => "Submit" %>
<%= dtext_preview_button "bulk_update_request", "reason" %>
<% end %>