Sha256: ca1c4f60cae1eb5cf79503132a6f49abd7417be7e1caaf1122ec5291bebfb225

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

= simple_form_for(@task, :html => one_submit_only(:task), :remote => true) do |f|
  = link_to_close new_task_path + "?view=#{@view}"
  = hidden_field_tag :view, @view
  = hidden_field_tag "task[user_id]", current_user.id
  = 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
  = render "fields/groups", :f => f

  .buttonbar
    = f.submit t :create_task
    #{t :or}
    = link_to_cancel new_task_path + "?view=#{@view}"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/tasks/_new.html.haml
fat_free_crm-0.12.2 app/views/tasks/_new.html.haml
fat_free_crm-0.12.1 app/views/tasks/_new.html.haml
fat_free_crm-0.12.0 app/views/tasks/_new.html.haml
fat_free_crm-0.11.4 app/views/tasks/_new.html.haml