Created
August 6, 2013 16:31
-
-
Save dcorking/6166133 to your computer and use it in GitHub Desktop.
typo in form partial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<%= f.label :donation_info %> | |
<%= f.text_field :donation_info, :class => "org_form" %> | |
</div> | |
<%= charity_admin_display_msg %> | |
<div class="field"> | |
<%= text_field_tag 'organization_admin_email', :size => 100, class: 'org_form %> | |
</div> | |
<div class="actions"> | |
<%= f.submit %> | |
</div> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) organizations/edit.html.erb renders the edit organization form | |
Failure/Error: render | |
ActionView::Template::Error: | |
/home/david2/LocalSupport/app/views/organizations/_form.html.erb:52: unknown reg\ | |
exp options - dv | |
unmatched close parenthesis: /div> | |
<div class="actions"> | |
');@output_buffer.append= ( f.submit );@output_buffer.safe_concat(' | |
');@output_buffer.safe_concat(' </i | |
/home/david2/LocalSupport/app/views/organizations/_form.html.erb:53: unterminate\ | |
d string meets end of file | |
/home/david2/LocalSupport/app/views/organizations/_form.html.erb:53: syntax erro\ | |
r, unexpected $end, expecting ')' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Michael for spotting my missing single quote mark in line 7.