search for: minute_step

Displaying 6 results from an estimated 6 matches for "minute_step".

2008 Jun 09
3
Rails 2.1 and ddatetime_select
...:action => :add_booking_note_ajax, :id => @booking}, :html =>{:id=>''new_booking_note''}) do %> <%= datetime_select(:note, :follow_up, :discard_second => true, :minute_step => 15) %> <%= text_area ''note'', ''body'', :rows => "7" %> <%= submit_tag ''Save''%> <% end %> Results in: ActionView::TemplateError (wrong number of arguments (2 for 1)) I get the same result with...
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
.../td> <td> <%= select_time( hash2time(tr.arrived_at), :prefix=>"site_visit_helper[timesheet_records][#{i.to_s}][arrived_at]", :include_blank=>true, :minute_step=>5) %> </td> <td> <%= select_time( hash2time(tr.left_at), :prefix=>"site_visit_helper[timesheet_records][#{i.to_s}][left_at]", :include_blank=>true,...
2010 Mar 09
1
TIME PICKER HELP
I have installed time picker in my application using the below url. ruby script/plugin install http://timepicker.rubyforge.org/svn/trunk/ <%=time_picker(Time.now, {:time_format => ''12'', :minute_step => 30})%> when i use like above in my list.rhtml file , i get error like below undefined method `leading_zero_on_single_digits'' for #<ActionView::Base:0x45b0d48> how i should use it... kindly help me out to get it working Thanks for any help -- Posted via http://www.ruby-...
2011 Jul 14
0
MultiparameterAssignmentErrors
...time_select: <%= f.fields_for :company_layout do |company_layout_form| %> <p> <%= company_layout_form.label ''HorĂ¡rio de abertura'' %> <%= time_select(''company[company_layout_attributes]'', :opening_hours, :ignore_date => true, :minute_step => 15, :prompt => true) %> </p> BTW, this is a nested form. If I go to the edit url for company_layout it works and I get no error, but If I''m creating it the MultiparameterAssignmentErrors occurs. Any ideas? Thank you, Rodrigo -- You received this message because yo...
2008 Apr 14
3
datetime_select custom input fields
by default datetime_select allows the user to input any date and time they want. Is there a way it can only allow a user to select an hour between 8AM and 6PM and only allow them to choose the top of the hour (:00) and the half hour (:30) for the minute? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Mar 21
5
Getting a time select input
I''m having trouble workign out which ActionView DateHelpers to display a time input for an ActiveRecord field of type :time. I just want an hours input and a minuites input. I can get these with time_select helper using :field_name and :prefix but it gives both hours and miniutes the same name. <%= select_time(Time.now, :prefix => "search", :field_name =>