mirror of
https://github.com/grocy/grocy.git
synced 2025-08-07 06:53:30 +00:00
Fixed user create handling in embedded mode (closes grocy/grocy-desktop#51)
This commit is contained in:
parent
33d5ec44d2
commit
4659f51551
@ -106,6 +106,7 @@
|
|||||||
@endif>
|
@endif>
|
||||||
<div class="invalid-feedback">{{ $__t('Passwords do not match') }}</div>
|
<div class="invalid-feedback">{{ $__t('Passwords do not match') }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="password"
|
name="password"
|
||||||
@ -116,7 +117,6 @@
|
|||||||
id="password_confirm"
|
id="password_confirm"
|
||||||
value="x">
|
value="x">
|
||||||
@endif
|
@endif
|
||||||
@endif
|
|
||||||
|
|
||||||
@include('components.userfieldsform', array(
|
@include('components.userfieldsform', array(
|
||||||
'userfields' => $userfields,
|
'userfields' => $userfields,
|
||||||
|
@ -25,10 +25,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 m-1 mt-md-0 mb-md-0 float-right"
|
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 m-1 mt-md-0 mb-md-0 float-right"
|
||||||
id="related-links">
|
id="related-links">
|
||||||
|
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
|
||||||
<a class="btn btn-primary responsive-button"
|
<a class="btn btn-primary responsive-button"
|
||||||
href="{{ $U('/user/new') }}">
|
href="{{ $U('/user/new') }}">
|
||||||
{{ $__t('Add') }}
|
{{ $__t('Add') }}
|
||||||
</a>
|
</a>
|
||||||
|
@endif
|
||||||
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
||||||
href="{{ $U('/userfields?entity=users') }}">
|
href="{{ $U('/userfields?entity=users') }}">
|
||||||
{{ $__t('Configure userfields') }}
|
{{ $__t('Configure userfields') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user