aboutsummaryrefslogtreecommitdiff
blob: f949dc10cd2b9cd0f00bf03e72e5b215e05edc66 (plain)
1
2
3
4
5
6
7
8
9
<%# 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>
  </content-body:>
</new-for-question-page>