Skip to content

Commit

Permalink
Cap warranty months to 3 on the frontend blade
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Jul 17, 2019
1 parent 15bfd07 commit 77a6f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/partials/forms/edit/warranty.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<label for="warranty_months" class="col-md-3 control-label">{{ trans('admin/hardware/form.warranty') }}</label>
<div class="col-md-9">
<div class="input-group col-md-3" style="padding-left: 0px;">
<input class="form-control" type="text" name="warranty_months" id="warranty_months" value="{{ Input::old('warranty_months', $item->warranty_months) }}" />
<input class="form-control" type="text" name="warranty_months" id="warranty_months" value="{{ Input::old('warranty_months', $item->warranty_months) }}" maxlength="3" />
<span class="input-group-addon">{{ trans('admin/hardware/form.months') }}</span>
</div>
<div class="col-md-9" style="padding-left: 0px;">
{!! $errors->first('warranty_months', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
</div>
</div>
</div>
</div>

0 comments on commit 77a6f6f

Please sign in to comment.