2014-04-30 00:02:07 +00:00
|
|
|
<h1>New Team</h1>
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2014-04-30 00:02:07 +00:00
|
|
|
<%= form_for(@team, html: { class: 'square horizontal' }) do |f| %>
|
|
|
|
<%= render 'shared/errors', messages: @team.errors.full_messages %>
|
2014-03-23 00:22:25 +00:00
|
|
|
|
2014-04-30 00:02:07 +00:00
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :name %>
|
|
|
|
<%= f.text_field :name %>
|
|
|
|
</div>
|
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :irc %>
|
|
|
|
<%= f.text_field :irc %>
|
|
|
|
</div>
|
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :web %>
|
|
|
|
<%= f.text_field :web %>
|
|
|
|
</div>
|
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :tag %>
|
|
|
|
<%= f.text_field :tag %>
|
|
|
|
</div>
|
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :country %>
|
2017-10-14 18:02:32 +00:00
|
|
|
<%= country_select :team, :country, include_blank: true %>
|
2014-04-30 00:02:07 +00:00
|
|
|
</div>
|
|
|
|
<div class="fields horizontal">
|
|
|
|
<%= f.label :comment %>
|
|
|
|
<%= f.text_field :comment %>
|
|
|
|
</div>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.submit "Create" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|