echo $name; ?> " id="<?php echo $form_name . '_' . $flat_name; ?> "<?php echo $attributes; ?> > <?php foreach ($options as $value => $text) { ?> <option value="<?php echo uh($value); ?> "<?php formStatePost($name, 'select', $value, $default_value); ?> ><?php echo uh($text); ?> </option> <?php } ?> </select> <?php echo $errors_html . PHP_EOL; ?> </p>
<p class="form-control-group"> <span class="form-radio-label"><?php echo $label; ?> </span> <?php foreach ($options as $value => $text) { ?> <label> <input type="radio" name="<?php echo $name; ?> " value="<?php echo uh($value); ?> "<?php formStatePost($name, 'radio', $value, $default_value); ?> > <?php echo uh($text) . PHP_EOL; ?> </label> <?php } ?> <?php echo $errors_html . PHP_EOL; ?> </p>