Sha256: a1ccbc3890549b58c13f0b98312a31081b64f3ef435935209aecb88b440a667b
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
<div class="post comment_form"> <a id="post-comment"> <h2>Post a Comment</h2> <% unless @new_comment.errors.empty? %> <div class="form-errors"> <ul> <% @new_comment.errors.each do |attribute, error| %> <li><%= attribute.to_s.titleize %> <%= error %>.</li> <% end %> </div> <% end %> <% if @new_comment.user %> <%= form_for @new_comment, R(CortexReaver::CommentController, :post), [ :title, [:body, {:type => 'textarea'}], [:comment_id, {:type => 'hidden'}], [:journal_id, {:type => 'hidden'}], [:photograph_id, {:type => 'hidden'}], [:project_id, {:type => 'hidden'}] ] %> <% else %> <%= form_for @new_comment, R(CortexReaver::CommentController, :post), [ :title, :name, :email, :http, [:body, {:type => 'textarea'}], [:comment_id, {:type => 'hidden'}], [:journal_id, {:type => 'hidden'}], [:photograph_id, {:type => 'hidden'}], [:project_id, {:type => 'hidden'}] ] %> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cortex-reaver-0.0.1 | lib/cortex_reaver/view/comments/post_form.rhtml |
cortex-reaver-0.0.2 | lib/cortex_reaver/view/comments/post_form.rhtml |