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() }}
|