Sha256: 450e081efbc38a39498333c679e90183c81f6671862b7dad716dcd6bac0b530f
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
<% if type == 'F' %> <div class="fb-comments" data-href="<%= site_url() %>" data-width="710" data-num-posts="10"></div> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <% else %> <%= display_comments_loop %> <div id="commentsArea"> <h2>Make a comment about <strong><%= display_title %></strong></h2> <% if flash[:notice] %> <div class="notice"><%= flash[:notice] %></div> <% end %> <%= 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="field"> <%= f.label :author %> <%= f.text_field :author, :value => "", size: 40 %> </div> <div class="field"> <%= f.label :email %> <%= f.text_field :email, :value => "", size: 40 %> </div> <div class="field"> <%= f.label :website %> <%= f.text_field :website, :value => "" %> </div> <div class="field"> <%= f.label :comment %> <%= f.text_area :comment, :value => "" %> </div> <div class="field"> <%= f.submit "Submit Comment", :class => 'btn orangeBtn' %> </div> </fieldset> <% end %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roroacms-0.0.7 | spec/dummy/app/views/theme/roroa1/comments_form.html.erb |