Sha256: 7c26a2d46a1197388ddaa0677d60009b147e465732507acbed223442f9eb72c8

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

<div class="talkie-comments-form-container">
  <%= form_for [talkie, Talkie::Comment.new] 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") %>
    <%= 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

3 entries across 3 versions & 1 rubygems

Version Path
talkie-0.2.0 app/views/talkie/comments/_form.html.erb
talkie-0.1.1 app/views/talkie/comments/_form.html.erb
talkie-0.1.0 app/views/talkie/comments/_form.html.erb