@extends('writer-dashboard.layout.app') @section('style') @endsection @section('content')
{{--
--}}
{!!Form::model($row , ['url' => ['/writer/writer-profile'] , 'method' => 'PATCH','files'=>true]) !!}
{!! Form::label('name', 'الاسم') !!} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => "Enter writer's name"]) !!}
{!! Form::label('user_name', 'اسم المستخدم') !!} {!! Form::text('user_name', null, ['class' => 'form-control', 'placeholder' => 'Enter username', 'readOnly']) !!}
{!! Form::label('password', 'كلمة المرور') !!} {!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Enter password']) !!}
{!! Form::label('password_confirmation', 'تكرار كلمة المرور') !!} {!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Confirm password']) !!}
{!! Form::label('email', 'البريد الالكتروني') !!} {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => "Enter writer's email"]) !!}
{!! Form::label('phone', 'الجوال') !!} {!! Form::text('phone', null, ['class' => 'form-control', 'placeholder' => "Enter writer's phone"]) !!}
{!! Form::label('title', 'Title') !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => "Enter writer's title"]) !!}
{!! Form::label('image', 'Profile Image') !!} {!! Form::file('image', ['class' => 'form-control-file']) !!} @if ( isset($row) && $row->image) {{ $row->title }} @endif
{!! Form::label('fb', 'رابط الفيسبوك') !!} {!! Form::text('fb', null, ['class' => 'form-control', 'placeholder' => 'Enter Facebook profile link']) !!}
{!! Form::label('tw', 'رابط تويتر') !!} {!! Form::text('tw', null, ['class' => 'form-control', 'placeholder' => 'Enter Twitter profile link']) !!}
{!! Form::label('wa', 'رابط الواتساب') !!} {!! Form::url('wa', null, ['class' => 'form-control', 'placeholder' => "Enter book's WhatsApp link"]) !!}
{!! Form::label('te', 'رابط تليجرام') !!} {!! Form::url('te', null, ['class' => 'form-control', 'placeholder' => "Enter book's Telegram link"]) !!}
{!! Form::label('about', 'الوصف الكامل') !!} {!! Form::textarea('about', null, ['class' => 'form-control mytextarea', 'rows' => 3, 'placeholder' => "Enter writer's bio"]) !!}
الغاء
{!!Form::close() !!}
@endsection @section('script') @endsection