Created
May 18, 2011 10:49
-
-
Save AJFaraday/978354 to your computer and use it in GitHub Desktop.
baffling error
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
Showing /home/andrew/Documents/FestivePage/app/views/mailouts/_form.html.haml where line #3 raised: | |
wrong number of arguments (1 for 0) | |
Extracted source (around line #3): | |
1: .group | |
2: = f.label :subject, t("activerecord.attributes.mailout.subject", :default => "Subject"), :class => :label | |
3: = f.text_field :subject, :class => 'text_field' | |
4: %span.description Ex: a simple text | |
5: .group | |
# being called from my new view | |
.inner | |
= form_for :mailout, :url => mailouts_path, :html => { :class => :form } do |f| | |
= render :partial => "form", :locals => {:f => f} | |
- content_for :sidebar, render(:partial => 'sidebar') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment