Sha256: 4b1f890254d8d7a688cb2f89353e328573a1621830db7324cb959ca2576f02d9

Contents?: true

Size: 1.24 KB

Versions: 9

Compression:

Stored size: 1.24 KB

Contents

.row
  .col-md-10.col-md-offset-1
    .text-editor-buttons{ data: { apply_to: 'quick_answer_textarea' } }
      %div.btn-group
        =link_to '#', class: 'btn btn-default btn-sm' do
          %i{ class: 'fa fa-bold' }
        =link_to '#', class: 'btn btn-default btn-sm' do
          %i{ class: 'fa fa-italic' }
        =link_to '#', class: 'btn btn-default btn-sm' do
          %i{ class: 'fa fa-strikethrough' }
        =link_to '#', class: 'btn btn-default btn-sm' do
          %i{ class: 'fa fa-underline' }

      %div.btn-group
        =link_to '#', class: 'btn btn-default btn-sm', data: { toggle: 'modal' } do
          %i{ class: 'fa fa-camera-retro' }

      %div.btn-group.smiles
        - emoticons_list.each do |code, path|
          =link_to '#', class: 'btn btn-default btn-sm smile-past' do
            %img{ src: path, class: 'smile', data: { code: code } }




    = form_for @new_post, url: forum_topic_posts_path(forum, topic), role: 'form' do |form|
      .form-group= form.text_area :text, class: 'form-control quick-answer', id: 'quick_answer_textarea'

      .pull-right
        = form.submit t('.quick_answer'), class: 'btn btn-primary'

        = render partial: 'my_forum/shared/upload_photo', locals: { textarea: 'quick_answer_textarea' }

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta36 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta35 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta34 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta33 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta32 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta31 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta30 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta29 app/views/my_forum/topics/_quick_answer.haml
my_forum-0.0.1.beta28 app/views/my_forum/topics/_quick_answer.haml