Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="fileinput fileinput-new" data-provides="fileinput">
- <div class="fileinput-preview thumbnail" ng-show="!isupdate" data-trigger="fileinput" style="width: 140px; height: 140px;"></div>
- <div class="fileinput-preview thumbnail" ng-model="ins.photo1" ng-hide="!isupdate" id="display" ng-src="{{source}}" data-dismiss="fileinput" data-trigger="!fileinput" style="width: 140px; height: 140px;">
- <img ng-src="{{source}}" class="fileinput-preview thumbnail" ng-hide="!isupdate" id="photo1" alt="{{ins.photo1}}" style="width: 140px; height: 140px;" />
- </div>
- <div>
- <span class="btn red btn-outline btn-file">
- <span class="fileinput-new">select image </span>
- <span class="fileinput-exists">change </span>
- <input type="file" name="ins.photo1" src="{{source}}" ng-model="ins.photo1" id="myphoto1" />
- </span>
- <a href="javascript:;" class="btn red fileinput-exists" data-dismiss="fileinput">remove </a>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement