Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group col-md-12">
- <div class="fileinput fileinput-{{ (isset($distribution) && isset($distribution->image)) ? 'exists' : 'new' }}" data-provides="fileinput">
- <div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;">
- @if(isset($distribution) && isset($distribution->image))
- <img class='img-rounded' src="/images/distribution/{{ $distribution->image }}">
- @endif
- </div>
- <div>
- <span class="btn btn-default btn-file">
- <span class="fileinput-new">Change Image</span>
- <span class="fileinput-exists">Change Image</span>
- <input type="file" name="image"></span>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement