2013-08-01 10:33:49 +08:00
|
|
|
<%= error_messages_for @board %>
|
|
|
|
|
|
|
|
<div class="box tabular">
|
2013-08-03 22:18:30 +08:00
|
|
|
<p style="width:666;"><%= f.text_field :name, :required => true %></p><!--by young-->
|
|
|
|
<p><%= f.text_field :description, :required => true, :size => 30 %></p><!--by young-->
|
2013-08-01 10:33:49 +08:00
|
|
|
<% if @board.valid_parents.any? %>
|
|
|
|
<p><%= f.select :parent_id, boards_options_for_select(@board.valid_parents), :include_blank => true, :label => :field_board_parent %></p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|