From 67212f9d57561892b948f97d81bea28ad55ee4f1 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 25 Apr 2023 20:59:29 -0700 Subject: [PATCH] Changed layout, added fieldsets Signed-off-by: snipe --- .../views/custom_fields/fields/edit.blade.php | 131 +++++++++++++----- 1 file changed, 95 insertions(+), 36 deletions(-) diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php index 8e025e4b6b..0b6a1c45c0 100644 --- a/resources/views/custom_fields/fields/edit.blade.php +++ b/resources/views/custom_fields/fields/edit.blade.php @@ -1,8 +1,9 @@ -@php - use App\Models\CustomField; -@endphp +@extends('layouts/default', [ + 'helpText' => trans('admin/custom_fields/general.about_fieldsets_text'), + 'helpPosition' => 'right', + 'topSubmit' => true, +]) -@extends('layouts/default') {{-- Page title --}} @section('title') @@ -21,24 +22,28 @@ {{-- Page content --}} @section('content') -
-
- @if ($field->id) - {{ Form::open(['route' => ['fields.update', $field->id], 'class'=>'form-horizontal']) }} - {{ method_field('PUT') }} - @else - {{ Form::open(['route' => 'fields.store', 'class'=>'form-horizontal']) }} - @endif + @if ($field->id) + {{ Form::open(['route' => ['fields.update', $field->id], 'class'=>'form-horizontal']) }} + {{ method_field('PUT') }} + @else + {{ Form::open(['route' => 'fields.store', 'class'=>'form-horizontal']) }} + @endif + @csrf +
+
+ +
+
-