Sha256: a0efc30d152a1f54db7cc6900ccab407103eb0df8dc182267209d3641c89685e

Contents?: true

Size: 569 Bytes

Versions: 15

Compression:

Stored size: 569 Bytes

Contents

	<% @page.page_comments.reverse.each do |pc| %>
	<li style="margin-bottom: 10px; border-bottom: thin solid #EEE;"><%= pc.user.email %> @ <%= pc.created_at %>: <%= pc.body %></li>
	<% end %>
	
	
	<li><%= icon_to_function "Add note", "$('#add_comment').slideDown(); $('#body').focus();"%>
		
		<div style='display: none' id='add_comment'>
			<%= form_tag("/page/#{@page.id}/add_note", :remote=>true) do %>
                        <%= text_area_tag :body, '', {:size=>"40x5"} %>
                        <br/>
				<%= kit_submit "Save" %>
			<% end %>
		</div>
		
	</li>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/pages/_comments.html.erb
kit_cms-2.3.20 app/views/pages/_comments.html.erb
kit_cms-2.3.19 app/views/pages/_comments.html.erb
kit_cms-2.3.18 app/views/pages/_comments.html.erb
kit_cms-2.3.17 app/views/pages/_comments.html.erb
kit_cms-2.3.16 app/views/pages/_comments.html.erb
kit_cms-2.3.15 app/views/pages/_comments.html.erb
kit_cms-2.3.14 app/views/pages/_comments.html.erb
kit_cms-2.3.13 app/views/pages/_comments.html.erb
kit_cms-2.3.11 app/views/pages/_comments.html.erb
kit_cms-2.3.10 app/views/pages/_comments.html.erb
kit_cms-2.3.9 app/views/pages/_comments.html.erb
kit_cms-2.3.8 app/views/pages/_comments.html.erb
kit_cms-2.3.7 app/views/pages/_comments.html.erb
kit_cms-2.3.6 app/views/pages/_comments.html.erb