Sha256: da948ff0785709e108e44721fe8c70da6cdd7ef3ee3c8166e778f962ffa1d4b0
Contents?: true
Size: 726 Bytes
Versions: 16
Compression:
Stored size: 726 Bytes
Contents
<% if commenting_on.comments_allowed? %> <section id="reply" class="post-comment-form comment_reply_form"> <% if current_user %> <%= form_for :comment, url: [commenting_on, :ajax_add_comment] do |f| %> <div class="form-group"> <%= f.text_area :body, rows: 3, class: 'form-control' %> </div> <button type="submit" class="btn btn-primary">Submit</button> <% end %> <% else %> <p><%= I18n.t 'cms.comment_login_required' %></p> <%= link_to I18n.t('core.login'), main_app.new_user_session_path, class: 'btn btn-primary' %> <%= link_to I18n.t('core.create_account'), main_app.new_user_registration_path, class: 'btn' %> <% end %> </section> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems