1 <% if user_signed_in? -%>
2 <% if @author.artist? -%>
3 <%= form_tag( {:action => "create"} , { :multipart => true }) do %>
4 <label for="file">File to Upload</label> <%= file_field_tag "original_picture[file]" %>
6 <%= collection_select :original_picture, :license_id, License.all.map {|l| [l.name, l.id] }, :last, :first, :html => {:selected => @author.artist.default_license_id} %>
7 <%= submit_tag 'upload' -%>
10 <%= render 'artist_register' %>
13 素材を投稿するなら<%= link_to "ログイン", new_user_session_path %>