Skip to content

Commit

Permalink
Fixes bug in standard set contact form view
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Oct 31, 2011
1 parent 9c9833a commit 89354cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/elements/_contactform_view.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form_for(@mail ||= Mail.new, :html => {:id => "contact", "data-alchemy-element" => (@preview_mode ? element.id : nil)}) do |f| %>
<%= form_for(@message ||= Message.new, :html => {:id => "contact", "data-alchemy-element" => (@preview_mode ? element.id : nil)}) do |f| %>
<%= f.error_messages %>
<%= f.hidden_field "contact_form_id", :value => element.id %>
<%= hidden_field_tag "mail_to", params[:mail_to] %>
Expand Down

0 comments on commit 89354cd

Please sign in to comment.