Permalink
Browse files

fixes #17

  • Loading branch information...
1 parent 4747c67 commit be1463d27e97779ae5681a34e40d474751d5d6f5 @Zeelot committed Jul 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/yform/themes/default/choice/select.php
@@ -6,7 +6,7 @@
<label for="<?php echo Arr::get($attributes, 'id'); ?>" ><?php echo $label; ?></label>
<?php endif; ?>
- <select <?php echo HTML::attributes($attributes); ?>/>
+ <select <?php echo HTML::attributes($attributes); ?>>
<?php foreach ($object->options() as $value => $name): ?>
<option value="<?php echo HTML::chars($value); ?>" <?php echo ((string)$value === (string)Arr::get($attributes, 'value'))? 'selected="selected"' : NULL; ?>><?php echo HTML::chars($name); ?></option>
<?php endforeach; ?>

0 comments on commit be1463d

Please sign in to comment.