Sha256: 02f39eb4d0152a67ccca55620d596234840966da2ca50567f127976e27d7ac4d
Contents?: true
Size: 764 Bytes
Versions: 13
Compression:
Stored size: 764 Bytes
Contents
<br/> <h1>Add Comment</h1> <div> <div id="notice"></div> <br/> <%= form_tag "/comments/add/#{@website_section.id}/#{@published_content.content.id}", :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> </span> <%= submit_tag "Add Comment", :disable_with => "Please wait...", :class => "submit" %> </p> </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