<div class="box tabular">

<% rb_labelled_fields_for :release, @release do |f| %>
  <p>
    <%= f.text_field :name, :required => true %>
  </p>
  <p>
    <%= f.text_area :description, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
  </p>
  <p>
    <%= f.select :status, RbRelease::RELEASE_STATUSES.collect {|s| [l("version_status_#{s}"), s]} %>
  </p>
  
  <p>
    <%= f.text_field :release_start_date, :required => true %>
    <%= calendar_for('release_release_start_date') %>
  </p>
  <p>
    <%= f.text_field :release_end_date, :required => true %>
    <%= calendar_for('release_release_end_date') %>
  </p>
  <p>
    <%= f.text_field :planned_velocity %>
  </p>
  <p>
    <%= f.select :sharing,
        @release.allowed_sharings.collect {|v| [
          format_release_sharing(v),
          v]} %>
  </p>
<% end %>
</div>
