1 <ng-form name=
"config_form">
3 <div class=
"form-group">
4 <label for=
"af_config_form_title">
5 {{ ts('Title:') }}
<span class=
"crm-marker">*
</span>
7 <input ng-model=
"afform.title" class=
"form-control" id=
"af_config_form_title" required
/>
10 <div class=
"form-group">
11 <label for=
"af_config_form_description">
12 {{ ts('Description:') }}
14 <textarea ng-model=
"afform.description" class=
"form-control" id=
"af_config_form_description"></textarea>
15 <p class=
"help-block">{{ts('Semi-private description about the form\'s purpose.')}}
</p>
16 <!-- "Semi-private": not generally public, but not audited for secrecy -->
19 <div class=
"form-group">
20 <label for=
"af_config_form_server_route">
23 <input ng-model=
"afform.server_route" class=
"form-control" id=
"af_config_form_server_route" />
24 <p class=
"help-block">{{ts('Expose the form as a standalone page on the web site. (Example:
"civicrm/my-form")')}}
</p>
27 <div class=
"form-group" ng-if=
"!!afform.server_route">
28 <label for=
"af_config_form_is_public">
29 <input type=
"checkbox" id=
"af_config_form_is_public" ng-model=
"afform.is_public">
30 {{ ts('Enable frontend styling') }}
32 <p class=
"help-block">{{ts('The general look/feel should match the frontend')}}
</p>
35 <div class=
"form-group">
36 <label for=
"af_config_form_is_dashlet">
37 <input type=
"checkbox" id=
"af_config_form_is_dashlet" ng-model=
"afform.is_dashlet">
38 {{ ts('Enable dashlet') }}
40 <p class=
"help-block">{{ts('Allow backend users to embed the form on the dashboard.')}}
</p>
43 <div class=
"form-group">
44 <label for=
"af_config_form_permission">
45 {{ ts('Permission:') }}
47 <input ng-model=
"afform.permission" class=
"form-control" id=
"af_config_form_permission" crm-ui-select=
"{data: editor.meta.permissions, placeholder: ts('Open access')}" />
48 <p class=
"help-block">{{ts('What permission is required to use this form?')}}
</p>