Sha256: 3e7d1cc05515cc48b1d6e96cb143200ec7d8a154f282d576c0038872f0f8814d

Contents?: true

Size: 587 Bytes

Versions: 15

Compression:

Stored size: 587 Bytes

Contents

<h1>Created by <%= link_to @comment.author.name, detail_path(@comment.author) %> and attached to the <%= @comment.commentable.class.to_s.downcase %>: <%= link_to (@comment.commentable.try(:title) || @comment.commentable.try(:name)), @comment.commentable %></h1>

<strong><%= t("comments.status.#{@comment.status}") %></strong> <%= render 'comments/status_buttons', comment: @comment %>

<%= simple_form_for @comment do |f| %>
	<%= f.error_notification %>

	  <%= f.input :body, :input_html => { rows: 3, cols: 55 } %>

    <%= f.button :submit, :class => 'btn btn-primary' %>

<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tkh_content-0.10.10 app/views/comments/_form.html.erb
tkh_content-0.10.9 app/views/comments/_form.html.erb
tkh_content-0.10.8 app/views/comments/_form.html.erb
tkh_content-0.10.7 app/views/comments/_form.html.erb
tkh_content-0.10.6 app/views/comments/_form.html.erb
tkh_content-0.10.5.1 app/views/comments/_form.html.erb
tkh_content-0.10.5 app/views/comments/_form.html.erb
tkh_content-0.10.4 app/views/comments/_form.html.erb
tkh_content-0.10.3 app/views/comments/_form.html.erb
tkh_content-0.10.2 app/views/comments/_form.html.erb
tkh_content-0.10.1 app/views/comments/_form.html.erb
tkh_content-0.10 app/views/comments/_form.html.erb
tkh_content-0.9.20 app/views/comments/_form.html.erb
tkh_content-0.9.19 app/views/comments/_form.html.erb
tkh_content-0.9.18 app/views/comments/_form.html.erb