search for: endingd

Displaying 2 results from an estimated 2 matches for "endingd".

Did you mean: ending
2006 Jul 26
8
change text_field_tag class
...ld_tag(''enddate'', @enddate, {:class => @enddateclass, :readonly => "readonly", :maxlength => "25"} ) %> </div> ---------- the observe_field detects a new startdate selection from the calendar handled by startdateChanged action (calculating an endingdate 10 days after) in the booking_controller def startdateChanged pd = ParseDate::parsedate(@params["input"]) tl = Time.local(pd[0], pd[1], pd[2]) @enddate = (tl+(84600*10)).strftime("%d/%m/%Y") render :update do | page | page[''enddate'...
2006 Jul 26
0
render :update do | page | to modify a css class string...
In my booking/_form.rhtml, I have 2 <input text fields> startingdate (selction from unobstrusive calendar ) and endingdate <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"} )%> <%= observe_field(&q...