*/
public static $_tableName = 'civicrm_msg_template';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-newspaper-o';
+
/**
* Field to show when displaying a record.
*
{{:: ts('Submissions') }}
</legend>
-<<<<<<< HEAD
<p class="form-inline">
<label class="radio">
<input class="crm-form-radio" type="radio" name="submit_enabled" ng-model="editor.afform.submit_enabled" ng-value="true">
{{:: ts('Open') }}
-=======
- <div class="form-group" >
- <label>
- <input type="checkbox" ng-model="editor.afform.create_submission" ng-class="{'disabled': !!editor.afform.manual_processing}">
- {{:: ts('Log Submissions') }}
->>>>>>> c04192a7f4 (add manual processing option)
</label>
<label class="radio">
<input class="crm-form-radio" type="radio" name="submit_enabled" ng-model="editor.afform.submit_enabled" ng-value="false">
{{:: ts('Allow verification by email') }}
</label>
<p class="help-block">{{:: ts('The data will be processed and stored in CiviCRM after email verfication. Email field is required if you enable this setting.') }}</p>
+ <div class="form-inline" ng-if="editor.afform.allow_verification_by_email">
+ <label>{{:: ts('Email template') }}</label>
+ <input class="form-control" crm-autocomplete="'MessageTemplate'" ng-model="editor.afform.email_confirmation_template_id" auto-open="true" placeholder="{{:: ts('- select -') }}">
+ </div>
</div>
<div class="form-group" ng-class="{'has-error': !!config_form.redirect.$error.pattern}">
<name>civicrm_msg_template</name>
<comment>Users will need a way to save and retrieve templates with tokens for use in recurring email communication tasks</comment>
<add>1.6</add>
+ <title>Message Template</title>
+ <titlePlural>Message Templates</titlePlural>
+ <icon>fa-newspaper-o</icon>
<labelField>msg_title</labelField>
<paths>
<add>civicrm/admin/messageTemplates/add?action=add&reset=1</add>