afGuiEditor - Allow editing `is_public`
authorTim Otten <totten@civicrm.org>
Wed, 25 Nov 2020 05:03:14 +0000 (21:03 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 2 Dec 2020 02:47:38 +0000 (18:47 -0800)
ext/afform/gui/ang/afGuiEditor/config-form.html

index c53d5840a09c9552f64cd34eeb14e7c8ec3e5403..4aa58ebfb62a93c5fb50ab088696d9000e7796bb 100644 (file)
   <p class="help-block">{{ts('Expose the form as a standalone page on the web site. (Example: "civicrm/my-form")')}}</p>
 </div>
 
+<div class="form-group" ng-if="!!afform.server_route">
+  <label for="af_config_form_is_public">
+    <input type="checkbox" id="af_config_form_is_public" ng-model="afform.is_public">
+    {{ ts('Enable frontend styling') }}
+  </label>
+  <p class="help-block">{{ts('The general look/feel should match the frontend')}}</p>
+</div>
+
 <div class="form-group">
   <label for="af_config_form_is_dashlet">
     <input type="checkbox" id="af_config_form_is_dashlet" ng-model="afform.is_dashlet">