Sha256: 8a0a32ab21235c91dba98a6d588415892e049a3a60fb29d8a587a50cb4129023

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 Bytes

Contents

.edit_form{ style: "display:none" }
  = form_for 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

4 entries across 4 versions & 3 rubygems

Version Path
fuck_comments-2.3.4 app/views/the_comments/haml/_comment_edit.html.haml
the_comments_ruby-2.3.4 app/views/the_comments/haml/_comment_edit.html.haml
the_comments_ruby-2.3.3 app/views/the_comments/haml/_comment_edit.html.haml
the_comments-2.3.1 app/views/the_comments/haml/_comment_edit.html.haml