This repository has been archived by the owner on Aug 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(policy): update code for APN policy
Signed-off-by: Domingo Oropeza <[email protected]>
- Loading branch information
Showing
4 changed files
with
73 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
{% for input in inputs %} | ||
<table> | ||
{% for input in inputs %} | ||
{% if loop.index0 is even %} | ||
<tr> | ||
{% endif %} | ||
<td><label for="{{ input.name }}">{{ input.label }}</label></td> | ||
<td><input type="{{ input.type }}" name="{{ input.name }}" value="{{ input.value }}"></td> | ||
{% if loop.index0 is odd %} | ||
</tr> | ||
{% endif %} | ||
{% endfor %} | ||
<tr> | ||
<td for="{{ input.id }}">{{ __(input.label) }}</td> | ||
<td><input id="{{ input.id }}" type="{{ input.type }}" value="{{ input.value }}"></td> | ||
<td> | ||
<label>{{ apnAuthType.label }}</label> | ||
</td> | ||
<td> | ||
{{ apnAuthType.dropdown|raw }} | ||
</td> | ||
<td> | ||
<label>{{ apnType.label }}</label> | ||
</td> | ||
<td> | ||
{{ apnType.dropdown|raw }} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
<tr> | ||
<td> | ||
<label>{{ apnAuthType.label }}</label> | ||
</td> | ||
<td> | ||
{{ apnAuthType.dropdown|raw }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<label>{{ apnType.label }}</label> | ||
</td> | ||
<td> | ||
{{ apnType.dropdown|raw }} | ||
</td> | ||
</tr> | ||
</table> |