fixes #2167
This commit is contained in:
@@ -5,7 +5,7 @@ class UploadsController < ApplicationController
|
|||||||
rescue_from Upload::Error, :with => :rescue_exception
|
rescue_from Upload::Error, :with => :rescue_exception
|
||||||
|
|
||||||
def new
|
def new
|
||||||
@upload = Upload.new(:rating => "q")
|
@upload = Upload.new
|
||||||
if params[:url]
|
if params[:url]
|
||||||
@post = Post.find_by_source(params[:url])
|
@post = Post.find_by_source(params[:url])
|
||||||
|
|
||||||
|
|||||||
@@ -42,11 +42,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<%= f.label :rating_q, "Rating" %>
|
<%= f.label :rating %>
|
||||||
|
|
||||||
<fieldset class="ratings">
|
<fieldset class="ratings">
|
||||||
<%= f.radio_button :rating, :e %>
|
<%= 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.radio_button :rating, :q %>
|
||||||
<%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %>
|
<%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user