Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= semantic_form_for(@quick_war) do |f| %>
- <% if @quick_war.errors.any? %>
- <div id="error_explanation">
- <h2><%= pluralize(@quick_war.errors.count, "error") %> prohibited this quick_war from being saved:</h2>
- <ul>
- <% @quick_war.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
- <% end %>
- <% f.inputs do %>
- <%= f.input :clan_id %>
- <%= f.input :map, :as => :select, :collection => ["RO-Danzig", "RO-Kessel"] %>
- <%= f.input :start, :start_year => 2011 %>
- <%= f.input :player_amount, :as => :select, :collection => ["4on4", "5on5", "6on6", "7on7", "8on8"] %>
- <%= f.input :class, :include_blank => false, :as => :select, :collection => ["RO:Ladder clanwar", "friendly clanwar"] %>
- <%= f.input :irc %>
- <%= f.input :server %>
- <%= f.input :body %>
- <% end %>
- <%= f.buttons %>
- <% end %>
Add Comment
Please, Sign In to add comment