Skip to content

Commit

Permalink
possible to edit the category and the summary for a proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien committed Jul 11, 2010
1 parent e6048b3 commit 2612448
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions app/views/proposals/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.hidden_field :author_id %>
<p>
<%= f.label :title %>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :theme_id, "Theme" %>
<%= f.select :theme_id, options_for_select(CATEGORIES.map{|c| c.reverse}) %>
</p>
<p>
<%= f.label :summary %><br/>
<%= f.text_area :summary %>
</p>
<%= f.hidden_field :author_id %>

0 comments on commit 2612448

Please sign in to comment.