Sha256: 7ed73be7e7c07e95efea60ce614008d9356113f3c25729977b8d3699adcc2f5f

Contents?: true

Size: 801 Bytes

Versions: 13

Compression:

Stored size: 801 Bytes

Contents

<br/>
<h1>Add Comment</h1>
<div>
  <div id="notice"></div>
  <br/>

  <%= form_tag "/comments/add/", :remote => true, :id => 'add_comment_form' do %>
  <div class="form_settings">
    <div>
      <p>
      <span>Comment</span>
      <%= text_area_tag :comment, @comment, :rows => 8, :cols => 50 %>
      </p>
      <p style="padding-top: 15px">
      <span>&nbsp;</span>
      <%= submit_tag "Add Comment", :disable_with => "Please wait...", :class => "submit" %>
      </p>
      <input type="hidden" name="content_id" value="<%=@published_content.content.id%>" />
    </div>
  </div>
  <% end %>

</div>

<script type="text/javascript">
jQuery('#add_comment_form').bind('ajaxComplete', function(e, xhr, settings){
  jQuery('#notice').html(xhr.responseText);
});
</script>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knitkit-2.1.15 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.14 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.13 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.12 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.11 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.10 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.9 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.8 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.7 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.6 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.5 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.4 app/views/knitkit/blogs/_add_comment.html.erb
knitkit-2.1.3 app/views/knitkit/blogs/_add_comment.html.erb