Skip to content

Commit

Permalink
question body should be inputted in a text area, not a text field
Browse files Browse the repository at this point in the history
Signed-off-by: Balint Erdi <balint.erdi@gmail.com>
  • Loading branch information
balinterdi committed May 1, 2009
1 parent 8f97a53 commit f14fc74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/member/oracle/questions/edit.html.erb
Expand Up @@ -6,7 +6,7 @@
</p>
<p>
<%= f.label :body, I18n.t("member.oracle.questions.edit.body") %>
<%= f.text_field :body %>
<%= f.text_area :body, :cols => 40, :rows => 5 %>
</p>
<%= f.submit I18n.t("member.oracle.questions.edit.save") %>
<% end -%>
4 changes: 2 additions & 2 deletions app/views/member/oracle/questions/new.html.erb
Expand Up @@ -3,11 +3,11 @@
<% form_for :question, @question, :url => member_oracle_questions_path do |f| -%>
<p>
<%= f.label :title, I18n.t("member.oracle.questions.new.title") %>
<%= f.text_field :title %>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :body, I18n.t("member.oracle.questions.new.body") %>
<%= f.text_field :body %>
<%= f.text_area :body, :cols => 40, :rows => 5 %>
</p>
<%= f.submit I18n.t("member.oracle.questions.new.submit_question") %>
<% end -%>
5 changes: 4 additions & 1 deletion todos.markdown
@@ -1,8 +1,11 @@
* include the tog_oracle stylesheet on tog_oracle pages
* check delayed_job for setting up a runner every day
* check that only the question's publisher can pick the suitable answer, close the question, etc.
* check that only the question's publisher can pick the suitable answer, edit the question, etc.
* try to put the rendering of the page/action in oracle/questions/:id/answers into helpers
* when no answers/questions exist, put an explanation there, not just a blank list
* make a pick suitable answer + edit links on the member_oracle_questions page (Your questions)
* display the author and the date the question was posed on question lists and the "answers to a question" page


DONE
====
Expand Down

0 comments on commit f14fc74

Please sign in to comment.