Sha256: 3251b96e035c0d51a6d04db45acfe838303b6ab525a6bba1e486043848643784

Contents?: true

Size: 709 Bytes

Versions: 4

Compression:

Stored size: 709 Bytes

Contents

.logined_comment_form
  .user_data
    = link_to user_path(current_user), nopin: :nopin do
      = image_tag current_user.try(:avatar).try(: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/haml/_logined_form.html.haml
the_comments_ruby-2.3.4 app/views/the_comments/haml/_logined_form.html.haml
the_comments_ruby-2.3.3 app/views/the_comments/haml/_logined_form.html.haml
the_comments-2.3.1 app/views/the_comments/haml/_logined_form.html.haml