mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 01:37:13 +00:00
Applied .blade.php formatting rules
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
@extends('layout.default')
|
||||
|
||||
@if($mode == 'edit')
|
||||
@section('title', $__t('Edit %s', $userentity->caption))
|
||||
@section('title', $__t('Edit %s', $userentity->caption))
|
||||
@else
|
||||
@section('title', $__t('Create %s', $userentity->caption))
|
||||
@section('title', $__t('Create %s', $userentity->caption))
|
||||
@endif
|
||||
|
||||
@section('viewJsName', 'userobjectform')
|
||||
@@ -24,17 +24,21 @@
|
||||
</script>
|
||||
|
||||
@if($mode == 'edit')
|
||||
<script>Grocy.EditObjectId = {{ $userobject->id }};</script>
|
||||
<script>
|
||||
Grocy.EditObjectId = {{ $userobject->id }};
|
||||
</script>
|
||||
@endif
|
||||
|
||||
<form id="userobject-form" novalidate>
|
||||
<form id="userobject-form"
|
||||
novalidate>
|
||||
|
||||
@include('components.userfieldsform', array(
|
||||
'userfields' => $userfields,
|
||||
'entity' => 'userentity-' . $userentity->name
|
||||
'userfields' => $userfields,
|
||||
'entity' => 'userentity-' . $userentity->name
|
||||
))
|
||||
|
||||
<button id="save-userobject-button" class="btn btn-success">{{ $__t('Save') }}</button>
|
||||
<button id="save-userobject-button"
|
||||
class="btn btn-success">{{ $__t('Save') }}</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user