Permalink
Browse files

removing a php short tag (fixes #38)

  • Loading branch information...
1 parent 556e49c commit 8e9304e7527034a3520e32d8da98f3277d0547e3 @Zeelot committed Oct 17, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 views/yform/themes/default/choice/select.php
@@ -1,4 +1,3 @@
-
<!-- BEGIN YForm_Select Element -->
<div class="yform-item yform-select<?php echo empty($messages['errors']) ? '' : ' has-errors'; ?>" id="<?php echo Arr::get($attributes, 'id'); ?>-container">
@@ -8,7 +7,7 @@
<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; ?> <?= HTML::attributes($object->option_attributes($value)); ?>><?php echo HTML::chars($name); ?></option>
+ <option value="<?php echo HTML::chars($value); ?>" <?php echo ((string)$value === (string)Arr::get($attributes, 'value'))? 'selected="selected"' : NULL; ?> <?php echo HTML::attributes($object->option_attributes($value)); ?>><?php echo HTML::chars($name); ?></option>
<?php endforeach; ?>
</select>

0 comments on commit 8e9304e

Please sign in to comment.