@extends('layouts.app') @section('content')

@lang('global.sms-gateways.title')

{!! Form::model($sms_gateway, ['method' => 'PUT', 'route' => ['admin.sms_gateways.update', $sms_gateway->id]]) !!}
@lang('global.app_edit')
{!! Form::label('name', trans('global.sms-gateways.fields.name').'*', ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => '', 'required' => '']) !!}

@if($errors->has('name'))

{{ $errors->first('name') }}

@endif
{!! Form::label('key', trans('global.sms-gateways.fields.key').'*', ['class' => 'control-label']) !!} {!! Form::text('key', old('key'), ['class' => 'form-control', 'placeholder' => '', 'required' => '']) !!}

@if($errors->has('key'))

{{ $errors->first('key') }}

@endif
{!! Form::label('description', trans('global.sms-gateways.fields.description').'', ['class' => 'control-label']) !!} {!! Form::textarea('description', old('description'), ['class' => 'form-control ', 'placeholder' => '']) !!}

@if($errors->has('description'))

{{ $errors->first('description') }}

@endif
{!! Form::submit(trans('global.app_update'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop