Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
09a3e370
Commit
09a3e370
authored
3 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
FormBuilder - Hide configuration options that do not apply to certain form types
parent
b0518de0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ext/afform/admin/ang/afGuiEditor/config-form.html
+7
-4
7 additions, 4 deletions
ext/afform/admin/ang/afGuiEditor/config-form.html
with
7 additions
and
4 deletions
ext/afform/admin/ang/afGuiEditor/config-form.html
+
7
−
4
View file @
09a3e370
...
...
@@ -4,7 +4,7 @@
<label
for=
"af_config_form_title"
>
{{:: ts('Title') }}
<span
class=
"crm-marker"
>
*
</span>
</label>
<p
class=
"help-block"
>
{{:: ts('Public title (usually displayed at the top of the form).') }}
</p>
<p
class=
"help-block"
ng-if=
":: editor.afform.type !== 'block'"
>
{{:: ts('Public title (usually displayed at the top of the form).') }}
</p>
<input
ng-model=
"editor.afform.title"
class=
"form-control"
id=
"af_config_form_title"
required
title=
"{{:: ts('Required') }}"
/>
</div>
...
...
@@ -17,7 +17,8 @@
<!-- Description is "semi-private": not generally public, but not audited for secrecy -->
</div>
<div
class=
"form-group"
>
<!-- Form permissions do not apply to blocks -->
<div
class=
"form-group"
ng-if=
":: editor.afform.type !== 'block'"
>
<label
for=
"af_config_form_permission"
>
{{:: ts('Permission') }}
</label>
...
...
@@ -25,7 +26,8 @@
<p
class=
"help-block"
>
{{:: ts('What permission is required to use this form?') }}
</p>
</div>
<fieldset>
<!-- Placement options do not apply to blocks -->
<fieldset
ng-if=
":: editor.afform.type !== 'block'"
>
<legend>
{{:: ts('Placement') }}
</legend>
<div
class=
"form-group"
ng-class=
"{'has-error': !!config_form.server_route.$error.pattern}"
>
...
...
@@ -84,8 +86,9 @@
<p
class=
"help-block"
>
{{:: ts('Choose which contact from the search should match the contact being viewed.') }}
</p>
</div>
</fieldset>
<fieldset>
<!-- Submit actions are only applicable to form types with a submit button (exclude blocks and search forms) -->
<fieldset
ng-if=
":: editor.afform.type === 'custom'"
>
<legend>
{{:: ts('Submit Actions') }}
</legend>
<div
class=
"form-group"
>
...
...
This diff is collapsed.
Click to expand it.
colemanw
@colemanw
mentioned in commit
f1e89d31
·
3 years ago
mentioned in commit
f1e89d31
mentioned in commit f1e89d312abea650ea2014f328a72625bfbc0ec9
Toggle commit list
colemanw
@colemanw
mentioned in commit
b795d034
·
3 years ago
mentioned in commit
b795d034
mentioned in commit b795d03415c34862e841fcb8ffd5530c4abe16cc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment