posts: add "general" rating; rename "safe" rating to "sensitive".
* Add "general" rating. * Rename "safe" rating to "sensitive". * Change safe mode to include both rating:s and rating:g. * Treat rating:safe as a synonym for rating:sensitive. * Link "howto:rate" in the post edit form.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<%= f.input :old_source, as: :hidden, input_html: { value: post.source } %>
|
||||
<%= f.input :old_rating, as: :hidden, input_html: { value: post.rating } %>
|
||||
|
||||
<%= f.input :rating, collection: Post::RATINGS.invert.reverse_each.to_h, as: :radio_buttons, boolean_style: :inline %>
|
||||
<%= f.input :rating, label: "Rating (#{link_to_wiki "?", "howto:rate"})".html_safe, collection: Post::RATINGS.invert.reverse_each.to_h, as: :radio_buttons, boolean_style: :inline %>
|
||||
|
||||
<fieldset class="inline-fieldset post_has_embedded_notes_fieldset">
|
||||
<label>Notes</label>
|
||||
|
||||
Reference in New Issue
Block a user