Sha256: 4dfd62669f839ec73e2909cc065401dd5f1fb7ee4c17f2c206a24cdd3951d9ad

Contents?: true

Size: 825 Bytes

Versions: 5

Compression:

Stored size: 825 Bytes

Contents

.remote
  = simple_form_for(@task, html: one_submit_only, remote: true) do |f|
    = link_to_close edit_task_path(@task)
    = hidden_field_tag :view, @view
    = hidden_field_tag "task[asset_id]", "#{@asset.id if @asset}"
    = hidden_field_tag "task[asset_type]", "#{@asset.class if @asset}"

    = render "tasks/top_section",    f: f, edit: true
    = render "fields/groups", f: f, edit: true

    .buttonbar
      = f.submit t :save_task, class: 'btn btn-primary'
      == #{t :or}
      = link_to_cancel edit_task_path(@task)
      == #{t :or} #{t :move_to}
      - [ "due_asap", "due_today", "due_tomorrow", "due_this_week", "due_next_week", "due_later" ].each do |due_day|
        = link_to(t(due_day.to_sym), "#", onclick: %Q/crm.reschedule_task(#{@task.id}, "#{due_day}")/)
        = " | " if due_day != "due_later"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/tasks/_edit.html.haml
fat_free_crm-0.22.0 app/views/tasks/_edit.html.haml
fat_free_crm-0.21.0 app/views/tasks/_edit.html.haml
fat_free_crm-0.20.1 app/views/tasks/_edit.html.haml
fat_free_crm-0.20.0 app/views/tasks/_edit.html.haml