1 <% if author_signed_in? -%>
2 <% if current_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, :lisence_id, Lisence.all.map {|l| [l.name, l.id] }, :last, :first, :html => {:selected => current_author.artist.default_lisence_id} %>
7 <%= submit_tag 'upload' -%>
10 <%= render 'artist_register' %>
13 素材を投稿するなら<%= link_to "ログイン", new_author_session_path %>