Displaying 1 result from an estimated 1 matches for "payable_to".
2006 May 29
1
validation in a "subform"
...a form.
<%= start_form_tag :action => ''record'', :id => @account %>
<p>
On <%= date_select ''expense'', ''paid_on'', :order => [:month, :day, :year] %>
to <%= text_field ''expense'', ''payable_to'', :size => 25 %>
in the amount of $<%= text_field ''expense'', ''amount'', :size => 9 %>
</p>
<%= submit_tag ''Record!'' %>
<%= end_form_tag %>
Which then calls the record action in the controller:
d...