Sha256: 8d5ddef7e9fde592c9dded196485524d9f567c11f18f7206717067091706bdf3

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 Bytes

Contents

<h2><span><%= @post.title %></span></h2>
<div class="maintext"><%= @post.body %></div>
<br />
<div id='comments'>
<%= partial(:comments) %>	
</div>
	
<form onsubmit="new Ajax.Request('/posts/add_comment?post_id=<%= @post.id %>',
                  {asynchronous:'true', 
                  evalScripts:'true', 
                  parameters: Form.serialize(this)}); 
                  return false;" method="post" action="/posts/add_comment">

	<p>
	<label for="comment_name">

	Name

	</label><br />
	<input type="text" size="20" name="comment_name" id="comment_name" />
	</p>

	<p>
	<label for="comment_body">

	Comment

	</label><br />
	<textarea cols="20" id="post_body" name="comment_body" rows="8"></textarea>
	</p>


  <p>
    <input name="commit" type="submit" value="Submit" />
  </p>
</form>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
merb-0.0.6 examples/sample_app/dist/app/views/posts/show.rhtml
merb-0.0.8 examples/sample_app/dist/app/views/posts/show.herb
merb-0.0.5 examples/sample_app/dist/app/views/posts/show.rhtml
merb-0.0.7 examples/sample_app/dist/app/views/posts/show.herb