Skip to content

Commit a82a35d

Browse files
committed
views: Added old tag to placeholder when cloning
* Added the old tag to the placeholder attribute of the `asset_tag` input to improve the UX.
1 parent e978038 commit a82a35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/backend/hardware/clone.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="form-group {{ $errors->has('asset_tag') ? 'error' : '' }}">
2727
<label class="control-label" for="asset_tag">@lang('admin/hardware/form.tag')</label>
2828
<div class="controls">
29-
<input class="col-md-4" type="text" name="asset_tag" id="asset_tag" value="{{{ Input::old('asset_tag') }}}" />
29+
<input class="col-md-4" type="text" name="asset_tag" id="asset_tag" value="{{{ Input::old('asset_tag') }}}" placeholder="{{{ Input::old('asset_tag', $asset->asset_tag) }}}" />
3030
{{ $errors->first('asset_tag', '<span class="help-inline"><i class="icon-remove-sign"></i> :message</span>') }}
3131
</div>
3232
</div>

0 commit comments

Comments
 (0)