Sha256: 7b0e5762bd2b249d512693e71ee1482f052b42f9edc4d7811e4df3ed0e0f2296
Contents?: true
Size: 748 Bytes
Versions: 4
Compression:
Stored size: 748 Bytes
Contents
%h3 = link_to 'New Comment', '#', id: :new_root_comment = form_for Comment.new, remote: true, authenticity_token: true do |f| .error_notifier{ style: "display:none" } %label title: %p= f.text_field :title %label contacts: %p= f.text_field :contacts %label content*: %p= f.text_area :raw_content %p.trap - TheComments.config.empty_inputs.each do |name| = text_field_tag name, nil, autocomplete: :off, tabindex: -1, id: nil = hidden_field_tag :tolerance_time, 0, id: nil, class: :tolerance_time = f.hidden_field :commentable_type, value: commentable.class = f.hidden_field :commentable_id, value: commentable.id = f.hidden_field :parent_id, class: :parent_id %p= f.submit 'Create Comment', class: :btn
Version data entries
4 entries across 4 versions & 1 rubygems