Sha256: 321ab338e61f0361eaecd1755a92f267a838ab672196000572d8f8369338f296

Contents?: true

Size: 538 Bytes

Versions: 8

Compression:

Stored size: 538 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
  - 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

8 entries across 8 versions & 1 rubygems

Version Path
e9_crm-0.1.13 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.12 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.11 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.10 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.8 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.7 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.6 app/views/e9_crm/dated_costs/_form_inner.html.haml
e9_crm-0.1.5 app/views/e9_crm/dated_costs/_form_inner.html.haml