Sha256: c4baa1cd8f7c08514cf6b14cee4ae72a53582af550ad84a4b3d4c03d38167b96

Contents?: true

Size: 589 Bytes

Versions: 8

Compression:

Stored size: 589 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~