forked from e621ng/e621ng
Automatically copy last active flag reason to deletion reason
This commit is contained in:
parent
1d09ff5440
commit
8aebb2d567
@ -16,7 +16,7 @@
|
||||
|
||||
<div class="input">
|
||||
<label for="reason">Reason</label>
|
||||
<%= text_area_tag "reason" %>
|
||||
<%= text_area_tag "reason", @post.flags.where(is_resolved: false)&.last&.reason || '' %>
|
||||
</div>
|
||||
|
||||
<%= submit_tag "Delete" %>
|
||||
|
Loading…
Reference in New Issue
Block a user