frontend translation + other stuff
This commit is contained in:
committed by
Nabeel Shahzad
parent
ba8a819c7d
commit
a346b0df2e
@@ -2,7 +2,7 @@
|
||||
<div class="col-md-12">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td>{{ __('Name') }}</td>
|
||||
<td>@lang('frontend.global.name')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('name') ? ' has-danger' : '' }}">
|
||||
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
||||
@@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Email') }}</td>
|
||||
<td>@lang('frontend.global.email')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('email') ? ' has-danger' : '' }}">
|
||||
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
||||
@@ -26,7 +26,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Airline') }}</td>
|
||||
<td>@lang('frontend.global.airline')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('airline') ? ' has-danger' : '' }}">
|
||||
{{ Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) }}
|
||||
@@ -38,7 +38,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Home Airport') }}</td>
|
||||
<td>@lang('frontend.global.homeairport')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('home_airport_id') ? ' has-danger' : '' }}">
|
||||
{{ Form::select('home_airport_id', $airports, null , ['class' => 'form-control select2']) }}
|
||||
@@ -50,7 +50,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Country') }}</td>
|
||||
<td>@lang('frontend.global.country')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('country') ? ' has-danger' : '' }}">
|
||||
{{ Form::select('country', $countries, null, ['class' => 'form-control select2' ]) }}
|
||||
@@ -62,7 +62,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Timezone') }}</td>
|
||||
<td>@lang('frontend.global.timezone')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('timezone') ? ' has-danger' : '' }}">
|
||||
{{ Form::select('timezone', $timezones, null, ['class' => 'form-control select2' ]) }}
|
||||
@@ -74,8 +74,9 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ __('Change Password') }}</td>
|
||||
<td>@lang('frontend.profile.changepassword')</td>
|
||||
<td>
|
||||
<p>@lang('frontend.profile.newpassword'):</p>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('password') ? ' has-danger' : '' }}">
|
||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||
</div>
|
||||
@@ -83,7 +84,7 @@
|
||||
<p class="text-danger">{{ $errors->first('password') }}</p>
|
||||
@endif
|
||||
|
||||
<p>{{ __('Confirm Password') }}:</p>
|
||||
<p>@lang('frontend.global.confirmpassword'):</p>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('password_confirmation') ? ' has-danger' : '' }}">
|
||||
{{ Form::password('password_confirmation', ['class' => 'form-control']) }}
|
||||
</div>
|
||||
@@ -92,12 +93,12 @@
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
<td>{{ __('Avatar') }}</td>
|
||||
<td>@lang('frontend.profile.avatar')</td>
|
||||
<td>
|
||||
<div class="input-group form-group-no-border{{ $errors->has('avatar') ? ' has-danger' : '' }}">
|
||||
{{ Form::file('avatar', null) }}
|
||||
</div>
|
||||
<p class="small">This avatar will be resized to {{ config('phpvms.avatar.width'). ' x '. config('phpvms.avatar.height') }}</p>
|
||||
<p class="small">@lang('frontend.profile.avatarresize', ['width' => config('phpvms.avatar.width'), 'height' => config('phpvms.avatar.height')])</p>
|
||||
@if ($errors->has('avatar'))
|
||||
<p class="text-danger">{{ $errors->first('avatar') }}</p>
|
||||
@endif
|
||||
@@ -106,7 +107,7 @@
|
||||
</table>
|
||||
|
||||
<div style="width: 100%; text-align: right; padding-top: 20px;">
|
||||
{{ Form::submit(__('Update Profile'), ['class' => 'btn btn-primary']) }}
|
||||
{{ Form::submit(trans('frontend.profile.updateprofile'), ['class' => 'btn btn-primary']) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user