Skip to content

Commit

Permalink
Merge pull request #9 from GeneaLabs/laravel-5.5
Browse files Browse the repository at this point in the history
Change view to not depend on laravel-casts
  • Loading branch information
mikebronner committed Jan 1, 2018
2 parents 014709e + 1a5cfcb commit b751cbf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
28 changes: 19 additions & 9 deletions CHANGELOG.md
@@ -1,21 +1,31 @@
# ChangeLog
## Releases
### 0.2.0 [31 Dec 2017]
#### Changed
## 0.2.2 [1 Jan 2018]
### Fixed
- view to not use `genealabs/laravel-casts` package.

## 0.2.1 [1 Dec 2018]
### Fixed
- publishing of views and config file.

### Added
- more feature tests.

## 0.2.0 [31 Dec 2017]
### Changed
- composer dependency versions to work with Laravel 5.5.
- unit testing process to work without a parent application.

### 0.1.2 [9 May 2017]
#### Added
## 0.1.2 [9 May 2017]
### Added
- Caching and restoring or original user's session while they impersonate another user.

#### Removed
### Removed
- incorrect composer dependency `illuminate/foundation`.

### 0.1.1 [9 May 2017]
#### Added
## 0.1.1 [9 May 2017]
### Added
- composer package dependencies.
- change-log.

### 0.1.0 [9 May 2017]
## 0.1.0 [9 May 2017]
- Initial functionality.
10 changes: 8 additions & 2 deletions resources/views/impersonatees.blade.php
Expand Up @@ -7,12 +7,18 @@
<div class="list-group">

@foreach($users as $user)
@form(['route' => ['impersonatees.update', $user], 'method' => 'PUT', 'class' => 'list-group-item'])
<form action="{{ route('impersonatees.update', $user) }}"
method="POST"
class="list-group-item"
>
{{ csrf_field () }}
{{ method_field ('PUT') }}

<button type="submit" class="btn btn-primary">
<i class="fa fa-lg fa-btn fa-user-secret"></i>
</button>
{{ $user->name }}
@endform
</form>
@endforeach

</div>
Expand Down

0 comments on commit b751cbf

Please sign in to comment.