Sha256: 69cf30d1afa04e9bd9a5eebd77b63c8ff98e4cb6b625f1cba7d93dd2474b49f3
Contents?: true
Size: 1 KB
Versions: 8
Compression:
Stored size: 1 KB
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#new_task_comment_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 = date(comment.date) p = text2html comment.description
Version data entries
8 entries across 8 versions & 1 rubygems