@lang('theme.basic_info')
@lang('theme.change_password')
@lang('theme.addresses')
{!! Form::model($account, ['method' => 'PUT', 'route' => 'account.update', 'class' => 'form-horizontal', 'data-toggle' => 'validator']) !!}
{!! Form::label('name', trans('theme.full_name') . '*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('name', null, ['id' => 'name', 'class' => 'form-control flat', 'placeholder' => trans('theme.placeholder.full_name'), 'required']) !!}
{!! Form::label('nice_name', trans('theme.nice_name'), ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('nice_name', null, ['id' => 'nice_name', 'class' => 'form-control flat', 'placeholder' => trans('theme.placeholder.nice_name')]) !!}
{!! Form::label('email', trans('theme.email') . '*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::email('email', null, ['class' => 'form-control flat', 'placeholder' => trans('theme.placeholder.email'), 'required']) !!}
{!! Form::label('dob', trans('theme.dob'), ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('dob', null, ['class' => 'form-control flat datepicker', 'placeholder' => trans('theme.placeholder.dob')]) !!}
{!! Form::label('description', trans('theme.bio'), ['class' => 'col-sm-4 control-label']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control flat', 'rows' => '4', 'placeholder' => trans('theme.placeholder.bio')]) !!}
* {{ trans('theme.help.required_fields') }}
{!! Form::submit(trans('theme.button.update'), ['class' => 'btn btn-primary flat']) !!}
{!! Form::close() !!}
@if ($account->image) {!! Form::model($account, ['method' => 'DELETE', 'route' => 'my.avatar.remove', 'class' => 'form-horizontal', 'data-toggle' => 'validator']) !!}
×
{!! Form::close() !!} @endif {!! Form::label('avatar', trans('theme.avatar')) !!}
{!! Form::open(['route' => 'my.avatar.save', 'files' => true, 'data-toggle' => 'validator']) !!}
{!! Form::file('avatar', ['required']) !!}
{{ trans('theme.button.change_avatar') }}
{!! Form::close() !!}
{!! Form::model($account, ['method' => 'PUT', 'route' => 'my.password.update', 'class' => 'form-horizontal', 'data-toggle' => 'validator']) !!} @if ($account->password)
{!! Form::label('current_password', trans('theme.current_password') . '*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::password('current_password', ['class' => 'form-control flat', 'id' => 'current_password', 'placeholder' => trans('theme.placeholder.current_password'), 'data-minlength' => '6', 'required']) !!}
@endif
{!! Form::label('password', trans('theme.new_password') . '*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::password('password', ['class' => 'form-control flat', 'id' => 'password', 'placeholder' => trans('theme.placeholder.password'), 'data-minlength' => '6', 'required']) !!}
{!! Form::label('password_confirmation', trans('theme.confirm_password') . '*', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control flat', 'placeholder' => trans('theme.placeholder.confirm_password'), 'data-match' => '#password', 'required']) !!}
* {{ trans('theme.help.required_fields') }}
{!! Form::submit(trans('theme.button.update'), ['class' => 'btn btn-primary flat']) !!}
{!! Form::close() !!}
@forelse($account->addresses as $address) {!! $address->toHtml() !!}
@lang('theme.button.delete')
@lang('theme.edit')
@empty
@lang('theme.nothing_found')
@endforelse
@lang('theme.button.add_new_address')