posts: show ratings in tag edit dialog box.
* Show the rating buttons in the tag edit dialog box. * Fix the tag counter not showing up in the tag edit dialog box on the uploads page.
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
<%= f.input :rating, collection: [["Explicit", "e"], ["Questionable", "q"], ["Safe", "s"]], as: :radio_buttons, boolean_style: :inline %>
|
||||
<% end %>
|
||||
|
||||
<fieldset class="inline-fieldset">
|
||||
<fieldset class="inline-fieldset post_has_embedded_notes_fieldset">
|
||||
<label>Notes</label>
|
||||
<%= f.input :has_embedded_notes, label: "Embed notes", as: :boolean, boolean_style: :inline, disabled: post.is_note_locked? %>
|
||||
</fieldset>
|
||||
|
||||
<% if policy(post).can_lock_rating? || policy(post).can_lock_notes? || policy(post).can_lock_status? %>
|
||||
<fieldset class="inline-fieldset">
|
||||
<fieldset class="inline-fieldset post_lock_fieldset">
|
||||
<label>Lock</label>
|
||||
|
||||
<% if policy(post).can_lock_rating? %>
|
||||
|
||||
Reference in New Issue
Block a user