Sha256: 048c91b96f102e54960a7548e1677e84fe282adad87b741f1ef9c45a53176b0a
Contents?: true
Size: 619 Bytes
Versions: 9
Compression:
Stored size: 619 Bytes
Contents
- id = f.object.persisted? ? f.object.id : @temp_id %tr %td.field.date-picker - if temp_id = f.object.temp_id || @temp_id = f.hidden_field :temp_id, :value => temp_id - fid = "dated_cost_date_#{id}" - unless request.xhr? = f.label :date, nil, :class => :req, :for => id = f.text_field :date, :class => 'date-picker', :value => l(f.object.date), :id => id %td.field.cost - fid = "dated_cost_cost_#{id}" - unless request.xhr? = f.label :cost, nil, :class => :req, :for => id = f.text_field :cost, :id => id, :value => f.object.cost.to_money %td.actions = f.submit
Version data entries
9 entries across 9 versions & 1 rubygems