Sha256: ef34881a1bb586c1c382970d433a5a18ddad4021c96466781301fc6b924f53d7

Contents?: true

Size: 885 Bytes

Versions: 42

Compression:

Stored size: 885 Bytes

Contents

= simple_form_for (@task_comment || @task.comments.new), as: :task_comment do |f|
  table
    thead
      tr
        th = Dorsale::Flyboy::TaskComment.t(:progress)
        th = Dorsale::Flyboy::TaskComment.t(:description)
        th
    tbody
      - if can?(:update, @task)
        tr
          td.task_progress
            = f.input :progress, label: false
  
          td.description
            = f.input :description, label: false
  
          td.actions
            = f.hidden_field :task_id
            input.btn.btn-success type="submit" value=t("actions.create")

      - @task.reload.comments.map do |comment|
        tr
          td.task_progress
            = progress_bar percentage: comment.progress, label: true

          td.description
            p: small
              span.date = l(comment.date)

            p = text2html comment.description

          td.actions

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
dorsale-2.4.1 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.4.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.5 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.4 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.3 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.2 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.1 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.3.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.16 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.15 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.14 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.13 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.12 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.11 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.10 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.9 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.8 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.6 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.5 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.2.4 app/views/dorsale/flyboy/task_comments/_list.html.slim