socialforge/app/views/boards/_form.html.erb

16 lines
441 B
Plaintext

<%= error_messages_for @board %>
<div class="box tabular">
<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-->
<% 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>