@extends('layouts.cms') @section('content') {{ Form::open(array('url' => 'admin/modules/save', 'role' => 'form', 'class' => 'form-horizontal validate', 'name' => 'banner-form')) }} @include('admin.partials.button')

Ustawienia

{{ Form::text('name', @$module->name, array('class' => Config::get('custom.form.input-class'), 'id' => 'description', 'validate_rules' => 'required', 'alt' => strtolower(Lang::get('cms.nazwa_modulu')))) }}
{{ Form::textarea('description', @$module->description, array('class' => Config::get('custom.form.input-class'), 'id' => 'width')) }}

Dodaj pola

@include('admin.modules._form_defined_fields', ['field_types' => $field_types, 'defined_fields' => $defined_fields, 'id' => 'js_customform'])

Dodaj pola

@include('admin.modules._form_defined_fields', ['field_types' => $properties_field_types, 'defined_fields' => $properties_defined_fields, 'id' => 'js_customform_properties'])
{{ Form::hidden('id', @$module->id) }} @include('admin.partials.button') {{ Form::close() }} @stop