Skip to content

Commit 436df3a

Browse files
committed
Fix locals comment in answers/_new_edit partial
- This change updates/corrects the commented locals in `app/views/answers/_new_edit.html.erb`. - Prior to this change, there were conflicting comments listing the available locals. `plan` does not appear to be one of them. Also, `app/controllers/answers_controller.rb` reveals that `base_template_org` is one of them.
1 parent a77e06d commit 436df3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/answers/_new_edit.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<%# locals: { template, question, answer, readonly, locking } %>
1+
<%# locals: { template, question, answer, readonly, locking, base_template_org } %>
22
<!--
3-
This partial creates a form for each type of question. The local variables are: plan, answer, question, readonly
3+
This partial creates a form for each type of question.
44
-->
55
<!-- Question text -->
66
<% q_format = question.question_format %>

0 commit comments

Comments
 (0)