@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'=>'payment','action'=>'edit','id'=>$id))); $form->setAttribute('method', 'post'); $form->setAttribute('role', 'form'); $form->setAttribute('class', 'form-horizontal'); $form->get('is_global')->setAttribute('id','is_global'); echo $this->form()->openTag($form); @endphp
{{ formElement($form->get('method_label')) }}
@php foreach($fields as $row): @endphp
{{ formLabel($form->get($row->key)); }}
@php if($row->type == 'radio'): @endphp {{ $this->formRadio($form->get($row->key)); }} @php else: @endphp {{ formElement($form->get($row->key)); }} @php endif; @endphp
@php endforeach; @endphp
{{ formElement($form->get('is_global')) }}
{{ formElement($form->get('status')) }}
{{ formElement($form->get('sort_order')) }}
@endsection