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> </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