diff --git a/app/Helpers/CustomFieldHelper.php b/app/Helpers/CustomFieldHelper.php
index d9dacb50a2..b6b5a5b719 100644
--- a/app/Helpers/CustomFieldHelper.php
+++ b/app/Helpers/CustomFieldHelper.php
@@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Gate;
*
* The 'present' method is designed for when you're trying to generate fieldlists for use in Bootstrap tables
* - typically the 'dataTableLayout' method
- *
+ *
*********************/
class CustomFieldHelper {
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index a9159c4fa3..514defb084 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -418,63 +418,8 @@
- @if (($asset->model) && ($asset->model->fieldset))
- @foreach($asset->model->fieldset->fields as $field)
-
-
-
- {{ $field->name }}
-
-
-
-
- @endforeach
- @endif
+ @include('partials.custom-fields-view', ['item' => $asset,'width' => 2])
@if ($asset->purchase_date)
diff --git a/resources/views/partials/custom-fields-view.blade.php b/resources/views/partials/custom-fields-view.blade.php
new file mode 100644
index 0000000000..ecfb5f292b
--- /dev/null
+++ b/resources/views/partials/custom-fields-view.blade.php
@@ -0,0 +1,47 @@
+{{-- FIXME - this doesn't work for Assets (crap!) --}}
+@if ($item->getFieldset())
+ @foreach($item->getFieldset()->fields as $field)
+
+
+
+ {{ $field->name }}
+
+
+
+
+ @endforeach
+@endif
\ No newline at end of file
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php
index f8752dfe04..57dd5d0f61 100755
--- a/resources/views/users/view.blade.php
+++ b/resources/views/users/view.blade.php
@@ -728,6 +728,7 @@
@endforeach
@endif
{{-- FIXME