mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Change text on dropdown
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5bda73f151
commit
bd4061e023
|
@ -63,7 +63,7 @@ Form::macro('date_display_format', function ($name = 'date_display_format', $sel
|
|||
}
|
||||
$select = '<select name="'.$name.'" class="'.$class.'" style="min-width:250px" aria-label="'.$name.'">';
|
||||
foreach ($date_display_formats as $format => $date_display_format) {
|
||||
$select .= '<option value="'.$format.'"'.($selected == $format ? ' selected="selected" role="option" aria-selected="true"' : ' aria-selected="false"').'">'.$date_display_format.'</option> ';
|
||||
$select .= '<option value="'.$format.'"'.($selected == $format ? ' selected="selected" role="option" aria-selected="true"' : ' aria-selected="false"').'">'.$format.' (Example: '.$date_display_format.')</option> ';
|
||||
}
|
||||
|
||||
$select .= '</select>';
|
||||
|
|
Loading…
Reference in a new issue