From c4fc3b0b2f12556757e958a0a035514a0ffbe54f Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 2 Jun 2014 17:51:04 -0400 Subject: [PATCH] #2176: Require rating in html --- app/views/uploads/new.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index 7163f31e0..135d74c41 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -45,13 +45,13 @@ <%= f.label :rating %>
- <%= f.radio_button :rating, :e %> + <%= f.radio_button :rating, :e, :required => true %> <%= 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.radio_button :rating, :s %> + <%= f.radio_button :rating, :s, :required => true %> <%= f.label :rating_s, "Safe", :title => "Everything else" %>