@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content')
SMS

Update SMS

@if (session('error')) {{ session('error') }} @endif @if (session('success')) {{ session('success') }} @endif {!! Form::open(['action' => ['SmsController@update', $sms->id], 'method' => 'POST', 'class' => 'form-horizontal','data-parsley-validate']) !!}
{{Form::label('smsUserName', 'UserName', ['class'=>'required col-md-2'])}}
{{Form::text('smsUserName', $sms->smsUserName, ['class'=>'form-control', 'placeholder'=>'UserName', 'required'])}} @if ($errors->has('smsUserName')) {{ $errors->first('smsUserName') }} @endif
{{Form::label('smsPassword', 'Password', ['class'=>'required col-md-2'])}}
{{Form::text('smsPassword', $sms->smsPassword, ['class'=>'form-control', 'placeholder'=>'Password', 'required'])}} @if ($errors->has('smsPassword')) {{ $errors->first('smsPassword') }} @endif
{{Form::label('smsSID', 'SID', ['class'=>'required col-md-2'])}}
{{Form::text('smsSID', $sms->smsSID, ['class'=>'form-control', 'placeholder'=>'SID', 'required'])}} @if ($errors->has('smsSID')) {{ $errors->first('smsSID') }} @endif
{{Form::label('smsDashboad', 'Dashboard', ['class'=>'required col-md-2'])}}
{{Form::text('smsDashboad', $sms->smsDashboad, ['class'=>'form-control', 'placeholder'=>'Dashboard', 'required'])}} @if ($errors->has('smsDashboad')) {{ $errors->first('smsDashboad') }} @endif
{{Form::label('smsUrl', 'URL', ['class'=>'required col-md-2'])}}
{{Form::text('smsUrl', $sms->smsUrl, ['class'=>'form-control', 'placeholder'=>'URL', 'required'])}} @if ($errors->has('smsUrl')) {{ $errors->first('smsUrl') }} @endif
{{Form::hidden('_method', 'PUT')}} {{Form::submit('Update', ['class'=>'btn btn-primary'])}} Back to SMS List
{!! Form::close() !!}
@endsection