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

16 lines
441 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<%= 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-->
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>
2013-08-01 10:33:49 +08:00
<% end %>
</div>