1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php ! defined( 'ABSPATH' ) && exit(); ?><script type="text/ng-template" id="choice-type-html-template"> <?php /** * Fires before html choice content. * * @since 4.0.0 */ do_action( 'totalpoll/actions/before/admin/editor/choices/type/html', $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> <tinymce ng-model="$ctrl.item.html"></tinymce> <?php /** * Fires after html choice content. * * @since 4.0.0 */ do_action( 'totalpoll/actions/after/admin/editor/choices/type/html', $this ); ?> </script>
|