Sha256: 0a701a48de900df52a0db4f61ca92860daa2fa48f35221ab1f9eea2c685752b9

Contents?: true

Size: 577 Bytes

Versions: 8

Compression:

Stored size: 577 Bytes

Contents

- id = f.object.persisted? ? f.object.id : @temp_id
.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
.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
.actions
  = f.submit

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e9_crm-0.1.25 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.24 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.23 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.22 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.21 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.20 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.19 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.18 app/views/e9_crm/dated_costs/_form_inner.html.haml