Sha256: 385b3430180d9d3053c334c52ab7056313d7083ffbbd5c7ba4ae81079dd32c8a

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 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.description
            p: small
              span.date = comment.date

            p = text2html comment.description

          td.actions

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flyboy-1.0.4 app/views/flyboy/task_comments/_list.html.slim
flyboy-1.0.3 app/views/flyboy/task_comments/_list.html.slim