Skip to content

Commit

Permalink
add timezone widget for 2.0 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bellecp committed Apr 18, 2012
1 parent 2360300 commit 9a465e7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Form/JQuery/Type/AutocompleterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public function getAllowedOptionValues(array $options)
'choice',
'language',
'country',
'timezone',
'locale',
'entity',
'document',
Expand Down
1 change: 1 addition & 0 deletions Form/JQuery/Type/ChosenType.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function getAllowedOptionValues(array $options)
'choice',
'language',
'country',
'timezone',
'locale',
'entity',
'document',
Expand Down
1 change: 1 addition & 0 deletions Form/JQuery/Type/TokeninputType.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public function getAllowedOptionValues(array $options)
'choice',
'language',
'country',
'timezone',
'locale',
'entity',
'document',
Expand Down
3 changes: 3 additions & 0 deletions Resources/doc/jquery/autocomplete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public function buildForm(FormBuilder $builder, array $options)
->add('country', 'genemu_jqueryautocompleter', array(
'widget' => 'country'
))
->add('timezone', 'genemu_jqueryautocompleter', array(
'widget' => 'timezone'
))
->add('language', 'genemu_jqueryautocompleter', array(
'widget' => 'language'
));
Expand Down
3 changes: 3 additions & 0 deletions Resources/doc/jquery/chosen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public function buildForm(FormBuilder $builder, array $options)
->add('country', 'genemu_jquerychosen', array(
'widget' => 'country'
))
->add('timezone', 'genemu_jquerychosen', array(
'widget' => 'timezone'
))
->add('language', 'genemu_jquerychosen', array(
'widget' => 'language'
));
Expand Down

0 comments on commit 9a465e7

Please sign in to comment.