2013-08-01 10:33:49 +08:00
|
|
|
<%= error_messages_for @board %>
|
|
|
|
|
|
|
|
<div class="box tabular">
|
2014-10-27 14:20:59 +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? %>
|
2014-10-27 14:20:59 +08:00
|
|
|
<p>
|
|
|
|
<%= f.select :parent_id, boards_options_for_select(@board.valid_parents), :include_blank => true, :label => :field_board_parent %>
|
|
|
|
</p>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|