<h1><%= @article.title %></h1>
<p>
	<%= @article.text %>
</p>

<p>
<%= form_for([@article, @article.comments.build]) do |f| %>
	<p>
		<%= f.label :author %><br/>
		<%= f.text_area :author %>
	</p>


	<p>
		<%= f.label :body %><br/>
		<%= f.text_area :body %>
	</p>

	<p> <%= f.submit %>
	</p>
<% end %>

</p>
<h1><%= @article.title %></h1>
<p>
	<%= @article.text %>
</p>

<h2>Comments</h2>

<% @article.comments.each do |comment| %>
	<p>
	<i><%= comment.author %> said:</i><br />
	<%= comment.body %>
	</p>
<% end %>

<p>
<%= form_for([@article, @article.comments.build]) do |f| %>
	<p>
		<%= f.label :author %><br/>
		<%= f.text_area :author %>
	</p>


	<p>
		<%= f.label :body %><br/>
		<%= f.text_area :body %>
	</p>

	<p> <%= f.submit %>
	</p>
<% end %>

</p>
Add show comments on article page
Add show comments on article page
