Fix forms

This commit is contained in:
James Cole
2023-06-10 16:08:32 +02:00
parent 70e2aab073
commit f8b48f7455
15 changed files with 32 additions and 30 deletions

View File

@@ -18,9 +18,9 @@
<h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
</div>
<div class="box-body">
{{ ExpandedForm.text('name', null, {helpText: trans('firefly.link_type_help_name')}) }}
{{ ExpandedForm.text('inward', null, {helpText: trans('firefly.link_type_help_inward')}) }}
{{ ExpandedForm.text('outward', null, {helpText: trans('firefly.link_type_help_outward')}) }}
{{ ExpandedForm.text('name', linkType.name, {helpText: trans('firefly.link_type_help_name')}) }}
{{ ExpandedForm.text('inward', linkType.inward, {helpText: trans('firefly.link_type_help_inward')}) }}
{{ ExpandedForm.text('outward', linkType.outward, {helpText: trans('firefly.link_type_help_outward')}) }}
</div>
</div>
</div>

View File

@@ -20,7 +20,7 @@
</div>
<div class="box-body">
{% if canEditDetails %}
{{ ExpandedForm.text('email',null,{'helpText': trans('firefly.admin_update_email')}) }}
{{ ExpandedForm.text('email',user.email,{'helpText': trans('firefly.admin_update_email')}) }}
{{ ExpandedForm.password('password') }}
{{ ExpandedForm.password('password_confirmation') }}
{% else %}