# weforms/1.2.8/includes/admin/views/display-settings.php

weForms – Easy Drag &amp; Drop Contact Form Builder For WordPress, version 1.2.8. 28 lines.

- Page: https://pluginprobe.com/plugins/weforms/1.2.8/code/includes/admin/views/display-settings.php
- Raw: https://pluginprobe.com/plugins/weforms/1.2.8/raw/includes/admin/views/display-settings.php
- Modified: 2017-10-30T12:42:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/weforms/1.2.8/code/includes/admin/views/display-settings.php#L10-L20`.

```php
<table class="form-table">

    <tr class="wpuf-label-position">
        <th><?php _e( 'Label Position', 'weforms' ); ?></th>
        <td>
            <select v-model="settings.label_position">
                <?php
                $positions = array(
                    'above'  => __( 'Above Element', 'weforms' ),
                    'left'   => __( 'Left of Element', 'weforms' ),
                    'right'  => __( 'Right of Element', 'weforms' ),
                    'hidden' => __( 'Hidden', 'weforms' ),
                );

                foreach ($positions as $to => $label) {
                    printf('<option value="%s"%s>%s</option>', $to, '', $label );
                }
                ?>
            </select>

            <p class="description">
                <?php _e( 'Where the labels of the form should display', 'weforms' ) ?>
            </p>
        </td>
    </tr>

</table>

```
