From 4e3ccb74bc1d5d9afdc49b60befa966eec96a488 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 25 Apr 2023 15:59:19 -0700 Subject: [PATCH] Fixed slightly weird padding Signed-off-by: snipe --- resources/views/custom_fields/index.blade.php | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/resources/views/custom_fields/index.blade.php b/resources/views/custom_fields/index.blade.php index 0ad8511183..ba95199ead 100644 --- a/resources/views/custom_fields/index.blade.php +++ b/resources/views/custom_fields/index.blade.php @@ -178,26 +178,29 @@ + {{ Form::open(array('route' => array('fields.destroy', $field->id), 'method' => 'delete', 'style' => 'display:inline-block')) }} @can('update', $field) - - - {{ trans('button.edit') }} - + + + {{ trans('button.edit') }} + @endcan + @can('delete', $field) - {{ Form::open(array('route' => array('fields.destroy', $field->id), 'method' => 'delete', 'style' => 'display:inline-block')) }} - @if($field->fieldset->count()>0) - - @else - - @endif - {{ Form::close() }} + + @if($field->fieldset->count()>0) + + @else + + @endif + @endcan + {{ Form::close() }}