@extends('admin.layout') @section('content')

{{ trans('Update mask type') }}

@php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{!! Form::open(array('url' => route('mask-type.update', [$result['Mask_typesData']['id']]), 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'updateLeadSources', 'enctype'=>'multipart/form-data')) !!}
{!! Form::text('name', $result['Mask_typesData']['name'], array('class'=>'form-control', 'id'=>'name', 'required'=>'required')) !!}
{!! Form::text('modal_no', $result['Mask_typesData']['modal_no'], array('class'=>'form-control', 'id'=>'modal_no', 'required'=>'required', 'maxlength' => '8', 'oninput'=>"this.value = this.value.replace(/[^0-9A-Za-z]/g, '').replace(/(\..*)\./g, '$1');")) !!}
{{ trans('labels.back') }}
{!! Form::close() !!}
@endsection @section('scripts') @endsection