Sha256: 5e3fc873963354425a5aa4446a028a675776c8afdd5f1b7d6d06ecb59db86f75

Contents?: true

Size: 733 Bytes

Versions: 5

Compression:

Stored size: 733 Bytes

Contents

= simple_form_for [@task, (@comment || @task.comments.new)] do |f|
  table.default
    thead
      tr
        th = Flyboy::TaskComment.human_attribute_name(:progress)
        th = Flyboy::TaskComment.human_attribute_name(:description)
        th
    tbody
      tr
        td.task_progress
          = f.input :progress, label: false

        td.description
          = f.input :description, label: false

        td.actions
          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.desription
            = comment.description

          td.actions

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flyboy-0.0.5 app/views/flyboy/task_comments/_list.html.slim
flyboy-0.0.4 app/views/flyboy/task_comments/_list.html.slim
flyboy-0.0.3 app/views/flyboy/task_comments/_list.html.slim
flyboy-0.0.2 app/views/flyboy/task_comments/_list.html.slim
flyboy-0.0.1 app/views/flyboy/task_comments/_list.html.slim