Sha256: 54a4ea27fd603de4dee158b407cdb515e0579db56491f0a373ab1a51a31d8287

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

.panel.panel-default
  .panel-heading: .panel-title
    = icon :check_square_o
    = " "
    - if @task.persisted?
      = t("actions.update")
      = " : "
      = @task

    - else
      =  t('actions.new_task')

  .panel-body
    = horizontal_form_for @task, as: :task do |f|
      - if @task.taskable
        = f.input :taskable, as: :string, input_html: {value: @task.taskable.to_s, disabled: true}

      = f.input :name
      = f.input :description
      = f.input :reminder, html5: true
      = f.input :term,     html5: true

      = f.hidden_field :taskable_id
      = f.hidden_field :taskable_type
      = f.input :owner_guid, collection: @owners.map{ |e| [e.to_s, e.guid] }

      = form_buttons

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dorsale-3.5.2 app/views/dorsale/flyboy/tasks/_form.html.slim
dorsale-3.5.1 app/views/dorsale/flyboy/tasks/_form.html.slim
dorsale-3.5.0 app/views/dorsale/flyboy/tasks/_form.html.slim
dorsale-3.4.0 app/views/dorsale/flyboy/tasks/_form.html.slim