No description, website, or topics provided.
Ruby JavaScript
Switch branches/tags
Nothing to show
Latest commit f638708 Mar 1, 2012 @weekface release v0.1.1


Qqface tag

This is a gem to helper you quick add qqface function to your application.

This is a wrapper for the jquery.qqFace.js plugin, and add two action view helper method for use easy.


in your Gemfile:

gem 'qqface'

an install it:

$ bundle install


you need add require css,js file in your app assets files:


//= require jquery.qqFace


*= require qqface

then you can use qqface_button_tag helper in views, for example:

<%= qqface_button_tag('post_content') %>

and display the qq face images:

<%= simple_format(qqface_format(@post.content)) %>