This commit is contained in:
Toks
2014-05-30 03:04:07 -04:00
parent f132e42a12
commit 931559aa6b
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ class UploadsController < ApplicationController
rescue_from Upload::Error, :with => :rescue_exception
def new
@upload = Upload.new(:rating => "q")
@upload = Upload.new
if params[:url]
@post = Post.find_by_source(params[:url])

View File

@@ -42,11 +42,11 @@
</div>
<div class="input">
<%= f.label :rating_q, "Rating" %>
<%= f.label :rating %>
<fieldset class="ratings">
<%= f.radio_button :rating, :e %>
<%= f.label :rating_e, "Explicit", :title => "Hardcore porn, visible genitals, gore" %>
<%= f.label :rating_e, "Explicit", :title => "Hardcore porn, visible genitals" %>
<%= f.radio_button :rating, :q %>
<%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %>