Last active
October 9, 2018 18:21
-
-
Save evercode1/ad764976dc4377193409b6f65dada81c to your computer and use it in GitHub Desktop.
Chapter 10 create.blade.php image_weight
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- image_weight Form Input --> | |
| <div class="form-group{{ $errors->has('image_weight') ? ' has-error' : '' }}"> | |
| <label class="control-label">Image Weight</label> | |
| <input type="number" class="form-control" name="image_weight" value="{{ old('image_weight') ? old('image_weight') : 100 }}"> | |
| @if ($errors->has('image_weight')) | |
| <span class="help-block"> | |
| <strong>{{ $errors->first('image_weight') }}</strong> | |
| </span> | |
| @endif | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment