@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content') @php $form->prepare(); $form->setAttribute('action', adminUrl(array('controller'=>'smsgateway','action'=>'customize','id'=>$id))); $form->setAttribute('method', 'post'); $form->setAttribute('role', 'form'); $form->setAttribute('class', 'form-horizontal'); echo $this->form()->openTag($form); @endphp
@php foreach($options as $row): @endphp
{{ formLabel($form->get($row->key)); }}
@php if($row->type == 'radio'): @endphp {{ formElement($form->get($row->key)); }} @php else: @endphp {{ formElement($form->get($row->key)); }} @php endif; @endphp
@php endforeach; @endphp
@endsection