SHARE
TWEET

10

a guest Nov 4th, 2014 280 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="form-group col-md-12">
  2.   <div class="fileinput fileinput-{{ (isset($distribution) && isset($distribution->image))  ? 'exists' : 'new' }}" data-provides="fileinput">
  3.   <div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;">
  4.     @if(isset($distribution)  && isset($distribution->image))
  5.       <img class='img-rounded' src="/images/distribution/{{ $distribution->image }}">
  6.     @endif
  7.   </div>
  8.     <div>
  9.       <span class="btn btn-default btn-file">
  10.           <span class="fileinput-new">Change Image</span>
  11.           <span class="fileinput-exists">Change Image</span>
  12.           <input type="file" name="image"></span>
  13.     </div>
  14.   </div>
  15. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top