Sha256: 42b285d143afb0518412af5d6276dc273190f4bd92de9aa6c83bc1d56e7e3377

Contents?: true

Size: 843 Bytes

Versions: 3

Compression:

Stored size: 843 Bytes

Contents

.edit_form  style: "display:none"  
  = form_for [comments, comment], remote: true, html:{ role: :form } do |f|
    table.table.table-striped.table-hover
      tr  style: "width: 100px;" 
        td
          b= comment.commentable_type
          | →
        td
          = link_to comment.commentable_title, comment.commentable_url
          | (#{comment.try(:commentable_state)})
      tr
        td
          b= t('the_comments.title')
        td= f.text_field :title, class: "form-control"
      tr
        td
          b= t('the_comments.contacts')
        td= f.text_field :contacts, class: "form-control"
      tr
        td
          b= t('the_comments.content')
        td= f.text_area  :raw_content, class: "form-control", rows: 7
      tr
        td
        td= f.submit t('the_comments.update'), class: "btn btn-success"
  hr

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
the_comments-2.1.0 app/views/the_comments/slim/_comment_edit.html.slim
the_comments-2.0.1 app/views/the_comments/slim/_comment_edit.html.slim
the_comments-2.0.0 app/views/the_comments/slim/_comment_edit.html.slim