@extends('layouts.front') @section('title')@lang('Profile Settings') - {{config('app.name')}}@endsection @section('page-header-title') @lang('Profile Settings') @endsection @section('page-header-description') @lang('View or Change Profile Settings') @endsection @section('styles') @endsection @section('content')
@include('partials.front.sidebar')

@lang('Profile Settings')

@if(session()->has('profile_updated')) @endif @include('includes.form_errors')
{!! Form::model($user, ['method'=>'patch', 'action'=>['FrontSettingsController@updateProfile'], 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;', 'id'=>'update-profile-form']) !!}
{!! Form::label('name', __('Name:')) !!} {!! Form::text('name', null, ['class'=>'form-control', 'placeholder'=>__('Enter name'), 'required'])!!}
{!! Form::label('mobile', __('Mobile:')) !!} {!! Form::text('mobile', null, ['class'=>'form-control', 'placeholder'=>__('Enter Mobile'), 'required'])!!}
{!! Form::label('email', __('Email:')) !!} {!! Form::email('email', null, ['class'=>'form-control', 'placeholder'=>__('Enter email'), 'required']) !!}
{!! Form::label('gstin', __('GST No:')) !!} {!! Form::text('gstin', null, ['class'=>'form-control', 'placeholder'=>__('Enter GST No'), ''])!!}
{!! Form::label('gst_name', __('GST Name:')) !!} {!! Form::text('gst_name', null, ['class'=>'form-control', 'placeholder'=>__('Enter GST Name'), ''])!!}
{!! Form::label('password', __('Password:')) !!} {!! Form::password('password', ['id'=>'password-field', 'class'=>'form-control', 'placeholder'=>__('Enter password')]) !!}
{!! Form::label('password_confirmation', __('Confirm Password:')) !!} {!! Form::password('password_confirmation', ['id'=>'retype-password-field', 'class'=>'form-control', 'placeholder'=>__('Enter password again')]) !!}
{!! Form::close() !!}
@endsection @section('scripts') @endsection