A free open source IT asset/license management system
Remove name_display_format macro that was accidentally re-added
Marcus Moorecd785c9fc382
diff --git a/resources/macros/macros.php b/resources/macros/macros.phpindex 0c3628fe26..231e306c7e 100644--- a/resources/macros/macros.php+++ b/resources/macros/macros.php@@ -86,22 +86,6 @@ Form::macro('time_display_format', function ($name = 'time_display_format', $selreturn $select;});-Form::macro('name_display_format', function ($name = 'name_display_format', $selected = null, $class = null) {- $formats = [- 'first_last' => trans('general.firstname_lastname_display'),- 'last_first' => trans('general.lastname_firstname_display'),- ];-- $select = '<select name="' . $name . '" class="' . $class . '" style="width: 100%" aria-label="' . $name . '">';- foreach ($formats as $format => $label) {- $select .= '<option value="' . $format . '"' . ($selected == $format ? ' selected="selected" role="option" aria-selected="true"' : ' aria-selected="false"') . '>' . $label . '</option> ' . "\n";- }-- $select .= '</select>';-- return $select;-});-/*** Barcode macro* Generates the dropdown menu of available 1D barcodes