| 1 |
<table class="form-table"> |
| 2 |
|
| 3 |
<tr class="wpuf-label-position"> |
| 4 |
<th><?php _e( 'Label Position', 'weforms' ); ?></th> |
| 5 |
<td> |
| 6 |
<select v-model="settings.label_position"> |
| 7 |
<?php |
| 8 |
$positions = array( |
| 9 |
'above' => __( 'Above Element', 'weforms' ), |
| 10 |
'left' => __( 'Left of Element', 'weforms' ), |
| 11 |
'right' => __( 'Right of Element', 'weforms' ), |
| 12 |
'hidden' => __( 'Hidden', 'weforms' ), |
| 13 |
); |
| 14 |
|
| 15 |
foreach ($positions as $to => $label) { |
| 16 |
printf('<option value="%s"%s>%s</option>', $to, '', $label ); |
| 17 |
} |
| 18 |
?> |
| 19 |
</select> |
| 20 |
|
| 21 |
<p class="description"> |
| 22 |
<?php _e( 'Where the labels of the form should display', 'weforms' ) ?> |
| 23 |
</p> |
| 24 |
</td> |
| 25 |
</tr> |
| 26 |
|
| 27 |
</table> |
| 28 |
|