Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong number of arguments (0 for 1) #70

Open
wolfieorama opened this issue Dec 16, 2015 · 0 comments
Open

wrong number of arguments (0 for 1) #70

wolfieorama opened this issue Dec 16, 2015 · 0 comments

Comments

@wolfieorama
Copy link

Hi , I have everything set up well i am using simple_form (3.0.4) here is my code and the error i am getting, a good pointer highly appreciated

<div class="field">
    <%= f.label :date %><br>
     <%= f.input :date, :as => :date_picker %>
 </div>

error extracted source

class DatePickerInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options)
    set_html_options
    set_value_html_option

    template.content_tag :div, class: 'input-group date datetimepicker' do

Does this mean i have to pass option parameters ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant