Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 771 Bytes

JQueryRating Field (view demo)

Star rating


You need to download the resources manually from here. Add the CSS and JS in to your template, and make sure the image paths are correct.

Default Usage:

// ...
public function buildForm(FormBuilder $builder, array $options)
        // ...
        ->add('rating', 'genemu_jqueryrating')
        ->add('readonly_rating', 'genemu_jqueryrating', array(
            'configs' => array(
                'readOnly' => true