Sha256: b6b4ea61cb6464690faa8b228e072d28905e0a4ddaa88d7459dcd55cd6e9e55c

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 Bytes

Contents

= simple_form_for [@task, (@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
            p: small
              span.date = comment.date

            p = text2html comment.description

          td.actions

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flyboy-1.0.2 app/views/flyboy/task_comments/_list.html.slim
flyboy-1.0.1 app/views/flyboy/task_comments/_list.html.slim
flyboy-1.0.0 app/views/flyboy/task_comments/_list.html.slim
flyboy-0.0.6 app/views/flyboy/task_comments/_list.html.slim