Skip to content

Commit

Permalink
Make the necessary changes mentioned by @xabbuh and add example for form
Browse files Browse the repository at this point in the history
  • Loading branch information
harikt committed Jun 28, 2015
1 parent d4d1f12 commit a2c3f21
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions reference/forms/types/range.rst
Expand Up @@ -8,7 +8,7 @@ The ``range`` field is a slider that is rendered using the HTML5
``<input type="range" />`` tag.

+-------------+---------------------------------------------------------------------+
| Rendered as | ``input`` ``range`` field (slider in html5 supported browser) |
| Rendered as | ``input`` ``range`` field (slider in HTML5 supported browser) |
+-------------+---------------------------------------------------------------------+
| Inherited | - `data`_ |
| options | - `disabled`_ |
Expand All @@ -18,8 +18,7 @@ The ``range`` field is a slider that is rendered using the HTML5
| | - `label`_ |
| | - `label_attr`_ |
| | - `mapped`_ |
| | - `max`_ |
| | - `min`_ |
| | - `attr`_ |
| | - `required`_ |
+-------------+---------------------------------------------------------------------+
| Parent type | :doc:`text </reference/forms/types/text>` |
Expand All @@ -30,6 +29,12 @@ The ``range`` field is a slider that is rendered using the HTML5
Basic Usage
-----------

$builder->add('name', 'range', array(
'attr' => array(
'min' => 5,
'max' => 50
)
));

Inherited Options
-----------------
Expand Down

0 comments on commit a2c3f21

Please sign in to comment.