Sha256: 1a119df2209587268c2ca5ee8a2e423103f52e7c2f9b0f3bbbd1e3dc167e621c
Contents?: true
Size: 901 Bytes
Versions: 10
Compression:
Stored size: 901 Bytes
Contents
<div class="talkie-comments-form-container"> <%= form_for [talkie, Talkie::Comment.new], html: { class: "talkie-comments-form" } do |f| %> <%= f.hidden_field :commentable_id, value: commentable.id %> <%= f.hidden_field :commentable_type, value: commentable.class.name %> <%= f.text_area :body, placeholder: t("talkie.comments.form.body_placeholder"), class: "talkie-comment-body-textarea", required: "required" %> <% if Talkie.mentions_enabled? %> <p class="talkie-hint"><%= t("talkie.comments.form.hint_html") %></p> <%= f.hidden_field :mention_tokens, class: "comment-mentions" %> <% end %> <%= f.submit t("talkie.comments.form.submit"), class: "talkie-comments-form-submit" %> <% end %> </div> <h5 class="talkie-comments-count"><%= pluralize commentable.comments.size, t("talkie.comments.count.singular"), plural: t("talkie.comments.count.plural") %></h5>
Version data entries
10 entries across 10 versions & 1 rubygems