Sha256: 53c98cd252d9cadee209ac2f4d7df3920db557af3e616a32a564621273ff7ca6
Contents?: true
Size: 1004 Bytes
Versions: 8
Compression:
Stored size: 1004 Bytes
Contents
= simple_form_for (@task_comment || @task.comments.new), as: :task_comment do |f| .panel.panel-default: table thead tr th.task_comment-progress = Dorsale::Flyboy::TaskComment.t(:progress) th.task_comment-description = Dorsale::Flyboy::TaskComment.t(:description) tbody - if policy(@task).update? tr td.task_comment-progress = f.input :progress, label: false td.task_comment-description = f.hidden_field :task_id .textarea-input-group = f.text_area :description, rows: 3, class: "form-control" input type="submit" value=t("actions.save") - @task.reload.comments.map do |comment| tr td.task_comment-progress = progress_bar percentage: comment.progress, label: true td.task_comment-description p: small span.date = l(comment.date) p = text2html comment.description
Version data entries
8 entries across 8 versions & 1 rubygems