diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 3fd68b1da7..3c08475862 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -237,6 +237,20 @@ @endcan +
+ {{ Form::open([ + 'method' => 'POST', + 'route' => ['hardware/bulkedit'], + 'class' => 'form-inline', + 'id' => 'bulkForm']) }} + + + + {{ Form::close() }} +
+ @can('delete', $asset)
@if ($asset->deleted_at=='') @@ -1052,28 +1066,6 @@ {{ ($asset->userRequests) ? (int) $asset->userRequests->count() : '0' }}
-
-
- - {{ trans('general.label') }} - -
-
- {{ Form::open([ - 'method' => 'POST', - 'route' => ['hardware/bulkedit'], - 'class' => 'form-inline', - 'id' => 'bulkForm']) }} - - - - - {{ Form::close() }} - -
-
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 13924dd70c..74856e3ace 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -209,18 +209,18 @@ @if(!empty($user->email) && ($user->allAssignedCount() != '0'))
{{ csrf_field() }} -
@elseif(!empty($user->email) && ($user->allAssignedCount() == '0')) - @else - @@ -231,16 +231,16 @@ @can('update', $user) @if (($user->activated == '1') && ($user->ldap_import == '0'))
- @if($user->email != '') + @if (($user->email != '') && ($user->activated=='1'))
{{ csrf_field() }} -
@else - @@ -251,7 +251,7 @@ @can('create', $user)
- + {{ trans('admin/users/general.clone') }} @@ -263,16 +263,12 @@ @if ($user->deleted_at=='')
@if ($user->isDeletable()) -
- {{csrf_field()}} - {{ method_field("DELETE")}} - - +
@else - @@ -285,7 +281,7 @@ - @@ -295,7 +291,7 @@
@csrf - @@ -1201,6 +1197,14 @@