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-3.0.3 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-3.0.2 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-3.0.1 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-3.0.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.7.3 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.7.2 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.7.1 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.7.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.8 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.7 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.6 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.5 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.4 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.3 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.2 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.1 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.6.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.5.0 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.4.3 app/views/dorsale/flyboy/task_comments/_list.html.slim
dorsale-2.4.2 app/views/dorsale/flyboy/task_comments/_list.html.slim