Merge pull request #3192 from evazion/feat-replacement-remove-tags

Post replacements: streamline removing tags; fix replacement url.
This commit is contained in:
Albert Yi
2017-06-27 13:41:50 -07:00
committed by GitHub
6 changed files with 32 additions and 13 deletions

View File

@@ -4,4 +4,5 @@
<%= f.input :replacement_file, label: "File", as: :file %>
<%= f.input :replacement_url, label: "Replacement URL", hint: "The source URL to download the replacement from.", as: :string, input_html: { value: post_replacement.post.normalized_source } %>
<%= f.input :final_source, label: "Final Source", hint: "If present, the source field will be changed to this after replacement.", as: :string, input_html: { value: post_replacement.post.source } %>
<%= f.input :tags, label: "Tags", as: :text, input_html: { value: post_replacement.suggested_tags_for_removal, data: { autocomplete: "tag-edit" } } %>
<% end %>