diff --git a/src/ansible-webui/aw/templates/jobs/manage_job.html b/src/ansible-webui/aw/templates/jobs/manage_job.html
index 0ae9088..d24c67e 100644
--- a/src/ansible-webui/aw/templates/jobs/manage_job.html
+++ b/src/ansible-webui/aw/templates/jobs/manage_job.html
@@ -4,8 +4,8 @@
{% set_var executions|get_value:job.id as job_executions %}
{{ job.name }} |
- {{ job.inventory }} |
- {{ job.playbook }} |
+ {{ job.inventory_file }} |
+ {{ job.playbook_file }} |
{{ job.comment|get_fallback:"-" }} |
{{ job.schedule|get_fallback:"-" }}
{% if job.schedule|exists and not job.enabled %}
diff --git a/src/ansible-webui/aw/templates/settings/environment.html b/src/ansible-webui/aw/templates/system/environment.html
similarity index 100%
rename from src/ansible-webui/aw/templates/settings/environment.html
rename to src/ansible-webui/aw/templates/system/environment.html
diff --git a/src/ansible-webui/aw/templatetags/form_util.py b/src/ansible-webui/aw/templatetags/form_util.py
index a771061..585b0c2 100644
--- a/src/ansible-webui/aw/templatetags/form_util.py
+++ b/src/ansible-webui/aw/templatetags/form_util.py
@@ -88,10 +88,19 @@ def get_form_field_select(bf: BoundField, existing: dict) -> str:
@register.filter
def get_form_field_input(bf: BoundField, existing: dict) -> str:
- field_type = ''
- if bf.name.find('pass') != -1:
- field_type = 'type="password" '
-
- return (f''
+
+ return (f'')
+ f'{get_form_field_attributes(bf)} {get_form_field_validators(bf)}>'
+ f'{search_choices}')
diff --git a/src/ansible-webui/aw/templatetags/job_util.py b/src/ansible-webui/aw/templatetags/job_util.py
index b7114f2..a4990dc 100644
--- a/src/ansible-webui/aw/templatetags/job_util.py
+++ b/src/ansible-webui/aw/templatetags/job_util.py
@@ -5,6 +5,7 @@
from aw.model.job import JobExecution, CHOICES_JOB_EXEC_STATUS
from aw.config.hardcoded import SHORT_TIME_FORMAT
from aw.utils.util import datetime_from_db, is_null
+from aw.utils.permission import get_permission_name
register = template.Library()
@@ -98,3 +99,8 @@ def execution_logfile_exists(execution: JobExecution, attr: str = 'log_stdout')
return False
return Path(log_attr).is_file()
+
+
+@register.filter
+def permission_name(perm: int) -> str:
+ return get_permission_name(perm)
|