Sha256: 8f755730cbc7f6bf1e566be19fa910b965cb131573d1ebb53b06270cd5d16040

Contents?: true

Size: 617 Bytes

Versions: 7

Compression:

Stored size: 617 Bytes

Contents

- content_for :context do
  .task-context: .context
    = context_icon :check_square_o

    - if @task.persisted?
      = context_title "Modifier #{@task.title}"
      - if can?(:delete, @task)
        = delete_button task_path(@task)

    - else
      = context_title "Nouvelle tâche"

  = render "flyboy/goals/context", goal: @task.goal

- content_for :main do
  .well
    = horizontal_form_for @task do |f|
      = f.input :title
      = f.input :description
      = f.input :reminder, html5: true
      = f.input :term,     html5: true

      = f.hidden_field :goal_id

      = form_buttons

= render_contextual

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flyboy-1.0.7 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.6 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.5 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.4 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.3 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.2 app/views/flyboy/tasks/_form.html.slim
flyboy-1.0.1 app/views/flyboy/tasks/_form.html.slim