mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 14:31:12 +00:00
33 lines
839 B
Text
33 lines
839 B
Text
<h1>New Team</h1>
|
|
|
|
<%= form_for(@team, html: { class: 'square horizontal' }) do |f| %>
|
|
<%= render 'shared/errors', messages: @team.errors.full_messages %>
|
|
|
|
<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 %>
|
|
<%= country_code_select :team, :country %>
|
|
</div>
|
|
<div class="fields horizontal">
|
|
<%= f.label :comment %>
|
|
<%= f.text_field :comment %>
|
|
</div>
|
|
<div class="controls">
|
|
<%= f.submit "Create" %>
|
|
</div>
|
|
<% end %>
|