forked from e621ng/e621ng

* [UserWarnable] fix `warning_user_id` never being set I know `update` & `update_columns` function differently, but I feel the difference isn't needed * [UserWarnable] Add inline user and timestamp * lint * Move warning info into partial Also removes the user/timestamp as that is redundant for now * Fix unmarking * Tweak fixer script --------- Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
7 lines
133 B
Plaintext
7 lines
133 B
Plaintext
<% if record.was_warned? %>
|
|
<div class="user-warning">
|
|
<hr>
|
|
<em><%= record.warning_type_string %>.</em>
|
|
</div>
|
|
<% end %>
|