Sha256: 939c49be02f57bdcc1f87635e5622ff58faf96d0634e241d56d7dd8f6b289419

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 Bytes

Contents

label= t('the_comments.form.title')
p= f.text_field :title, class: 'form-control'

label= t('the_comments.form.contacts')
p= f.text_field :contacts, class: 'form-control'

label= t('the_comments.form.content')
p= f.text_area :raw_content, class: 'form-control'

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 t('the_comments.form.create'), class: :btn
  = t('the_comments.form.thank_you')

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
fuck_comments-2.3.4 app/views/the_comments/slim/_guest_form.html.slim
the_comments_ruby-2.3.4 app/views/the_comments/slim/_guest_form.html.slim
the_comments_ruby-2.3.3 app/views/the_comments/slim/_guest_form.html.slim
the_comments-2.3.1 app/views/the_comments/slim/_guest_form.html.slim