<form class="form-horizontal" role=form>
    <h2>Tax Detail</h2>

    <div class="form-group">
        <label for="txtName" class="col-md-2 control-label">Name</label>

        <div class="col-md-10">
            <input type="text" id="txtName" class="form-control" ng-model="tax.Name"/>
        </div>
    </div>
    <div class="form-group">
        <label for="txtRate" class="col-md-2 control-label">Rate</label>

        <div class="col-md-10">
            <div class="input-group">
                <input type="number" id="txtRate" class="form-control" ng-model="tax.Rate"/>
                <span class="input-group-addon">%</span>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <button class="btn btn-primary" ng-click="save()">Save</button>
            <button class="btn btn-danger" ng-show="tax.TaxID" ng-click="confirm()">Delete</button>
        </div>
    </div>
</form>
