Commit dfa6c2c2 authored by ArtemTropanets's avatar ArtemTropanets

change select text-seize in create and edit product templates

parent 161079d6
......@@ -28,7 +28,7 @@
<div class="form-group row">
<label for="product-type" class="col-sm-2 col-form-label">Product type</label>
<div class="col-sm-10">
<select class="custom-select custom-select-sm" name="type" id="product-type" required>
<select class="custom-select custom-select" name="type" id="product-type" required>
<option selected></option>
<option value="Phone">Phone</option>
<option value="Balalaika">Balalaika</option>
......
......@@ -29,7 +29,7 @@
<div class="form-group row">
<label for="type" class="col-sm-2 col-form-label">Product type</label>
<div class="col-sm-10">
<select class="custom-select custom-select-sm" name="type" id="type" required>
<select class="custom-select custom-select" name="type" id="type" required>
<option value="Phone"
{{ ($product->type === 'Phone') ? 'selected' : '' }}
>Phone</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment