#2176: Require rating in html
This commit is contained in:
@@ -45,13 +45,13 @@
|
|||||||
<%= f.label :rating %>
|
<%= f.label :rating %>
|
||||||
|
|
||||||
<fieldset class="ratings">
|
<fieldset class="ratings">
|
||||||
<%= f.radio_button :rating, :e %>
|
<%= f.radio_button :rating, :e, :required => true %>
|
||||||
<%= f.label :rating_e, "Explicit", :title => "Hardcore porn, visible genitals" %>
|
<%= f.label :rating_e, "Explicit", :title => "Hardcore porn, visible genitals" %>
|
||||||
|
|
||||||
<%= f.radio_button :rating, :q %>
|
<%= f.radio_button :rating, :q, :required => true %>
|
||||||
<%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %>
|
<%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %>
|
||||||
|
|
||||||
<%= f.radio_button :rating, :s %>
|
<%= f.radio_button :rating, :s, :required => true %>
|
||||||
<%= f.label :rating_s, "Safe", :title => "Everything else" %>
|
<%= f.label :rating_s, "Safe", :title => "Everything else" %>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user