OSDN Git Service

t#30102:update i18n op rp au ar gc gp pc
[pettanr/pettanr.git] / app / views / artists / _form.html.erb
1 <%= form_for(@artist) do |f| %>
2   <% if @artist.errors.any? %>
3     <div id="error_explanation">
4       <h2><%= pluralize(@artist.errors.count, "error") %> prohibited this artist from being saved:</h2>
5
6       <ul>
7       <% @artist.errors.full_messages.each do |msg| %>
8         <li><%= msg %></li>
9       <% end %>
10       </ul>
11     </div>
12   <% end %>
13
14   <div class="field">
15     <%= f.label :name %><br />
16     <%= f.text_field :name %><br />
17
18   </div>
19   <div class="actions">
20     <%= f.submit %>
21   </div>
22 <% end %>
23