Commit 84598297 authored by Nicolas Widart's avatar Nicolas Widart

Separating the buttons transaltions

parent b7394847
<?php
return [
'cancel' => 'Cancel',
'delete' => 'Delete',
'create' => 'Create',
'update' => 'Update',
];
......@@ -3,10 +3,6 @@
return [
'button' => [
'new-user' => 'New User',
'cancel' => 'Cancel',
'delete' => 'Delete',
'create' => 'Create',
'update' => 'Update',
],
'title' => [
'new-user' => 'New user',
......
<?php
return [
'cancel' => 'Annuler',
'delete' => 'Suprimmer',
'create' => 'Créer',
'update' => 'Mise à jour',
];
\ No newline at end of file
......@@ -3,10 +3,6 @@
return [
'button' => [
'new-user' => 'Nouvel utilisateur',
'cancel' => 'Annuler',
'delete' => 'Suprimmer',
'create' => 'Créer',
'update' => 'Mise à jour',
],
'title' => [
'new-user' => 'Nouvel utilisateur',
......
......@@ -94,8 +94,8 @@
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-flat">{{ trans('user::users.button.create') }}</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.user.index')}}"><i class="fa fa-times"></i> {{ trans('user::users.button.cancel') }}</a>
<button type="submit" class="btn btn-primary btn-flat">{{ trans('user::button.create') }}</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.user.index')}}"><i class="fa fa-times"></i> {{ trans('user::button.cancel') }}</a>
</div>
</div>
</div>
......
......@@ -76,8 +76,8 @@
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-flat">{{ trans('user::users.button.update') }}</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.user.index')}}"><i class="fa fa-times"></i> {{ trans('user::users.button.cancel') }}</a>
<button type="submit" class="btn btn-primary btn-flat">{{ trans('user::button.update') }}</button>
<a class="btn btn-danger pull-right btn-flat" href="{{ URL::route('dashboard.user.index')}}"><i class="fa fa-times"></i> {{ trans('user::button.cancel') }}</a>
</div>
</div>
</div>
......
......@@ -104,9 +104,9 @@
{{ trans('user::users.modal.confirmation-message') }}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('user::users.button.cancel') }}</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('user::button.cancel') }}</button>
{!! Form::open(['route' => ['dashboard.user.destroy', $user->id], 'method' => 'delete', 'class' => 'pull-left']) !!}
<button type="submit" class="btn btn-danger btn-flat"><i class="glyphicon glyphicon-trash"></i> {{ trans('user::users.button.delete') }}</button>
<button type="submit" class="btn btn-danger btn-flat"><i class="glyphicon glyphicon-trash"></i> {{ trans('user::button.delete') }}</button>
{!! Form::close() !!}
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment