Sha256: bbb31a90a0cef50d652bbfdf428f2e5c562224b3b7bb92d1113b34c06dc7af22

Contents?: true

Size: 601 Bytes

Versions: 8

Compression:

Stored size: 601 Bytes

Contents

<% # Clients of this partial must provide the following variables:
   # comment
   #
   # Additionally, they can override the following variables:
   thread ||= nil
   no_remote ||= false
%>

<% config = comment.thread.config %>

<%= form_for([commontator, thread, comment],
             :remote => !no_remote) do |f| %>
             
  <p>
    <%= f.text_area :body, :rows => '7' %>
  </p>
  
  <p>
    <%= f.submit (comment.id.blank? ? \
                   config.comment_create_verb_present : \
                   'update').capitalize + \
          ' ' + config.comment_name %>
  </p>
  
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
commontator-1.0.4 app/views/commontator/comments/_form.html.erb
commontator-1.0.3 app/views/commontator/comments/_form.html.erb
commontator-1.0.2 app/views/commontator/comments/_form.html.erb
commontator-1.0.1 app/views/commontator/comments/_form.html.erb
commontator-1.0.0 app/views/commontator/comments/_form.html.erb
commontator-0.5.14 app/views/commontator/comments/_form.html.erb
commontator-0.5.13 app/views/commontator/comments/_form.html.erb
commontator-0.5.12 app/views/commontator/comments/_form.html.erb