Upload

Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.

<% unless CurrentUser.user.can_upload? %>

You <%= CurrentUser.user.upload_limited_reason %>

<% end %> <%= render "image" %> <%= render "post", :post => @post %> <%= render "sources/info", :source => @source %> <%= error_messages_for "upload" %> <%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %> <% if CurrentUser.is_contributor? %>
<% end %>
<%= f.label :file %> <%= f.file_field :file, :size => 50 %>
<%= f.label :source %> <%= f.text_field :source, :size => 50, :value => params[:url] %> <%= button_tag "Similar", :id => "similar-button", :type => "button" %> <%= button_tag "Artist", :id => "find-artist-button", :type => "button" %> You can enter a URL to have <%= Danbooru.config.app_name %> automatically download and process it
<%= f.label :rating_q, "Rating" %>
<%= f.radio_button :rating, :e %> <%= f.label :rating_e, "Explicit", :title => "Hardcore porn, visible genitals, gore" %> <%= f.radio_button :rating, :q %> <%= f.label :rating_q, "Questionable", :title => "Nudity, anything erotic" %> <%= f.radio_button :rating, :s %> <%= f.label :rating_s, "Safe", :title => "Everything else" %>
<%= f.label :parent_id, "Parent ID" %> <%= f.text_field :parent_id %>
<%= f.label :tag_string, "Tags" %> <%= f.text_area :tag_string, :size => "60x5" %>
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %> <%= button_tag "Artists", :id => "related-artists-button", :type => "button" %> <%= button_tag "Characters", :id => "related-characters-button", :type => "button" %> <%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>
<%= submit_tag "Submit", :class => "large" %>

Artist

<% end %>
<% content_for(:page_title) do %> Upload - <%= Danbooru.config.app_name %> <% end %> <%= render "posts/partials/common/secondary_links" %>