Sha256: 81434c4a220326f92b416ebccba836f1c03d74edcfdfa788806448ba2d481c80

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

.logined_comment_form
  .user_data
    = link_to user_path(current_user), nopin: :nopin do
      = image_tag current_user.avatar.url(:thumb)
  .comment_data
    = 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

    .user_name
      b= current_user.username.present? ? current_user.username : current_user.login
    label= t('the_comments.form.content')
    p= f.text_area :raw_content

    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/_logined_form.html.slim
the_comments_ruby-2.3.4 app/views/the_comments/slim/_logined_form.html.slim
the_comments_ruby-2.3.3 app/views/the_comments/slim/_logined_form.html.slim
the_comments-2.3.1 app/views/the_comments/slim/_logined_form.html.slim