1 <p>素材の投稿には絵師登録が必要です。</p>
2 <p>下記フォームで登録してください。</p>
4 <%= form_for(@artist) do |f| %>
5 <% if @artist.errors.any? %>
6 <div id="error_explanation">
7 <h2><%= pluralize(@artist.errors.count, "error") %> prohibited this artist from being saved:</h2>
10 <% @artist.errors.full_messages.each do |msg| %>
18 <%= f.label :name %><br />
19 <%= f.text_field :name %><br />
21 <%= f.label :default_license_id %><br />
22 <%= f.number_field :default_license_id %>
23 <%= f.hidden_field :author_id, :value => @artist.author_id %>