Sha256: 0aa6cfb8a50d9e53bb7db4b833fa412ecbb3320d5df49693a66ed1df6f6a1e2a
Contents?: true
Size: 1.42 KB
Versions: 5
Compression:
Stored size: 1.42 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' 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 user_autocomplete', id: 'quick_answer_textarea' .pull-right %button#post_preview{ class: 'btn btn-primary', data: { elm_preview: 'quick_answer_textarea ' }}= t('.quick_answer_preview') = form.submit t('.quick_answer'), class: 'btn btn-primary' = render partial: 'my_forum/shared/upload_photo', locals: { textarea: 'quick_answer_textarea' } = render partial: 'my_forum/shared/post_preview'
Version data entries
5 entries across 5 versions & 1 rubygems