OSDN Git Service

21555b37b5e06f17a9bc5682d6836b5f162f31e5
[pettanr/pettanr.git] / app / views / original_pictures / _uploader.html.erb
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]" %>
5       <%= submit_tag 'upload' -%>
6     <% end -%>
7   <% else -%>
8     <%= render 'artist_register' %>
9   <% end -%>
10 <% else -%>
11   素材を投稿するなら<%= link_to "ログイン", new_author_session_path %>
12 <% end -%>