Sha256: ee90d99c094d18817351197df79521f6fd2c43f3f19ef6e6a5bc90b06b971f90

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

<%= display_comments_loop %>

<div id="commentsArea">
    <h4>Make a comment about <strong><%= obtain_the_title %></strong></h4>
    
    <% if flash[:notice] %>
      
      <div class="notice"><%= flash[:notice] %></div>

    <% end %>
	<div class="well">
        <%= form_for [@new_comment] do |f| %>

	      <fieldset class="commentForm">

	        <%= f.hidden_field :post_id, :value => @content.id %>
	        <%= f.hidden_field :parent_id, :value => nil, :id => 'comment_comment_parent' %>

	        <div id="replyToTitle"></div>

	        <div class="form-group">
	          <%= f.label :author %>
	          <%= f.text_field :author, :value => "", size: 40, :class => 'form-control' %>
	        </div>
	        <div class="form-group">
	          <%= f.label :email %>
	          <%= f.text_field :email, :value => "", size: 40, :class => 'form-control' %>
	        </div>
	        <div class="form-group">
	          <%= f.label :website %>
	          <%= f.text_field :website, :value => "", :class => 'form-control'  %>
	        </div>
	         <div class="form-group">
	          <%= f.label :comment %>
	          <%= f.text_area :comment, :value => "", :class => 'form-control', :rows => '6' %>
	        </div>
	        <div class="form-group">
	            <%= f.submit "Submit Comment", :class => 'btn btn-primary' %>
	        </div>
	      </fieldset>
	    <% end %>
    </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roroacms-0.0.7 spec/dummy/app/views/theme/roroa-bootstrap-3/comments_form.html.erb