diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-05-30 13:25:04 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-05-31 12:29:39 +0200 |
commit | 7ab46eafb0124576a9bc1a91d314507b42d91ef5 (patch) | |
tree | 0947b61261332562a029f09a25368545a54a14eb /app/views/answers/new_for_question.dryml | |
parent | Make users with empty nick and openid valid (diff) | |
download | recruiting-webapp-7ab46eafb0124576a9bc1a91d314507b42d91ef5.tar.gz recruiting-webapp-7ab46eafb0124576a9bc1a91d314507b42d91ef5.tar.bz2 recruiting-webapp-7ab46eafb0124576a9bc1a91d314507b42d91ef5.zip |
Show question content when creating or editing answer
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=356847
Diffstat (limited to 'app/views/answers/new_for_question.dryml')
-rw-r--r-- | app/views/answers/new_for_question.dryml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/answers/new_for_question.dryml b/app/views/answers/new_for_question.dryml index 81f8f8f..f949dc1 100644 --- a/app/views/answers/new_for_question.dryml +++ b/app/views/answers/new_for_question.dryml @@ -1,6 +1,7 @@ <%# Form Hobo inserts by default is broken, because it asks for owner%> <new-for-question-page> <content-body:> + <view:question.content/> <form with="&this.question.content.new_answer_of(current_user)" action="&create_answer_path"> <submit: label="#{ht 'answers.actions.create', :default=>['Create Answer']}"/> </form> |