Skip to content

Instantly share code, notes, and snippets.

@dcorking
Created August 6, 2013 16:31
Show Gist options
  • Save dcorking/6166133 to your computer and use it in GitHub Desktop.
Save dcorking/6166133 to your computer and use it in GitHub Desktop.
typo in form partial
<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 %>
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 ')'
@dcorking
Copy link
Author

dcorking commented Aug 6, 2013

Thanks Michael for spotting my missing single quote mark in line 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment