Sha256: d8f7d62ecfcce62f2cdbd2b2f7399eb111c11a5279bd12047580466faf635100
Contents?: true
Size: 1019 Bytes
Versions: 1
Compression:
Stored size: 1019 Bytes
Contents
<% # Clients of this partial must provide the following variables: # comment # # Optionally, they can also supply the following variables: per_page ||= nil thread ||= nil no_remote ||= false %> <% config = comment.thread.config %> <% if comment.errors.any? %> <div class="comment_error_explanation"> <h3><%= t "commontator.comment.errors.#{comment.id.blank? ? 'create' : 'update'}" %></h3> <ul> <% comment.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <%= form_for([commontator, thread, comment], :remote => !no_remote) do |f| %> <%= f.hidden_field :per_page, per_page %> <div class="comment_form_field"> <%= f.text_area :body, :rows => '7' %> </div> <div class="comment_form_actions"> <%= f.submit t("commontator.comment.actions.#{comment.id.blank? ? 'create' : 'update'}") %> <%= f.submit t('commontator.comment.actions.cancel'), :name => 'cancel' %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commontator-4.6.0 | app/views/commontator/comments/_form.html.erb~ |