I have in customers_helper.rb:
def custom3_form_column(record, input_name)
text_field :record, :custom3, form_element_input_options
(input_name, Customer,
# Adjust options as necessary
{ :class => 'text-input', :size => 60 })
end
and I'm getting an error here I don;t understand:
ActionView::TemplateError (undefined method
`form_element_input_options' for #<ActionView::Base:0x65847f0>) on
line #7 of vendor/plugins/active_scaffold/frontends/default/views/
_form_attribute.html.erb:
4: <label for="<%= active_scaffold_input_options(column, scope)
[:id] %>"><%= column.label %></label>
5: </dt>
6: <dd>
7: <%= active_scaffold_input_for column, scope %>
8: <% if column.description -%>
9: <span class="description"><%= column.description %></span>
10: <% end -%>
app/helpers/customers_helper.rb:26:in `custom3_form_column'
vendor/plugins/active_scaffold/frontends/default/views/
_form_attribute.html.erb:7
vendor/plugins/active_scaffold/frontends/default/views/
_form.html.erb:14
vendor/plugins/active_scaffold/frontends/default/views/
_form.html.erb:2
vendor/plugins/active_scaffold/frontends/default/views/
_create_form.html.erb:38
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---