Sha256: 6d000607cc8bc3f90d1b14cb48bf856fbcd709b276c1a9c48486da2c8b8e7031

Contents?: true

Size: 543 Bytes

Versions: 3

Compression:

Stored size: 543 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
.actions
  = f.submit

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
e9_crm-0.1.17 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.16 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.14 app/views/e9_crm/dated_costs/_form_inner.html.haml