Files
PMS/app/views/comments/_form.html.erb
2026-01-29 12:00:13 +06:30

9 lines
323 B
Plaintext

<%= form_with(model: [task, comment], local: false, class: "comment-form") do |f| %>
<div class="field">
<%= f.text_area :content, placeholder: "Add a comment...", class: "comment-textarea", required: true %>
</div>
<div class="actions">
<%= f.submit "Post Comment", class: "submit-btn" %>
</div>
<% end %>