<div class="ball" style="padding:5px;"> <div class="modal-body"> <div class="form-horizontal"> <fieldset> <div class="form-group"> <legend>{{installerModalCtrl.data.text}}</legend> <div class="row"> <div class="update-project"> <div class="col-sm-4"> <label for="cpid" class="control-label col-sm-2"> Name: </label> </div> <div class="col-sm-6"> <input type="text" class="form-control" ng-model="installerModalCtrl.installer.installer"/> <p class="help-block"></p> </div> </div> <div class="update-project"> <div class="col-sm-4"> <label for="cpid" class="control-label col-sm-2"> Version: </label> </div> <div class="col-sm-6"> <button class="btn btn-primary" ng-click="installerModalCtrl.openVersionModal()">Add Version</button> <p class="help-block"></p> </div> </div> </div> </div> </fieldset> </div> <div class='clo-md-12' style="padding-right:0px"> <h3>Version</h3> <div class="table-responsive"> <table class="table table-bordered table-hover" ng-data="installerModalCtrl.installer.versions"> <thead> <tr style=" text-align: center;"> <th style="width: 19%;">Version</th> </tr> </thead> <tbody> <tr ng-repeat-start="(index, version) in installerModalCtrl.installer.versions" style="padding:9px"> <td>{{version.version}}</td> </tr> <tr ng-repeat-end=> </tr> </tbody> </table> </div> </div> </div> <div class="modal-footer"> <div ng-show="installerModalCtrl.showCreateError" style="padding:0px;" class="col-md-6 alert alert-danger" role="alert"> <span class="pull-right"> {{installerModalCtrl.error}}</span> <span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span> </div> <button class="btn btn-primary" ng-click="installerModalCtrl.confirm()">Ok</button> <button class="btn btn-default" ng-click="installerModalCtrl.cancel()">Cancel</button> </div> </div>