1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php ! defined( 'ABSPATH' ) && exit(); ?><script type="text/ng-template" id="choice-type-text-template"> <?php /** * Fires after text choice content. * * @since 4.0.0 */ do_action( 'totalpoll/actions/after/admin/editor/choices/type/text', $this ); ?> <div class="totalpoll-input-group"> <label for="{{$ctrl.prefix('label')}}"><?php _e( 'Label', 'totalpoll' ); ?></label> <input type="text" placeholder="<?php _e( 'Choice label', 'totalpoll' ); ?>" name="{{$ctrl.prefix('label')}}" id="{{$ctrl.prefix('label')}}" ng-model="$ctrl.item.label"> </div> <?php /** * Fires after text choice content. * * @since 4.0.0 */ do_action( 'totalpoll/actions/after/admin/editor/choices/type/text', $this ); ?> </script>
|