<!--<div id="itemEditModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="itemEditModalLabel" aria-hidden="true">-->
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <div class="lead pull-left">{{ 'DETAILS' | translate }} {{ 'EDIT' | translate | lowercase }}</div>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <br/>
            </div>
            <div class="modal-body">
                <form class="item-edit" role="form" enctype="multipart/form-data" name="item_edit" target="_self">
                    <div class="form-group" ng-repeat="field in fields">
                        <label>{{ field.key | translate }}</label>
                        <input id="{{field.key}}" name="{{field.key}}" class="form-control" ng-model="itemCopy[field.key]" type="text" value=""/>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <div class="button-bar">
                    <button class="btn btn-primary" ng-click="save()">{{ 'SAVE' | translate }}</button>
                    <button class="btn btn-default" ng-click="cancel()">{{ 'CANCEL' | translate }}</button>
                    <button class="btn btn-danger" ng-click="delete()">{{ 'DELETE' | translate }}</button>
                </div>
            </div>
        </div>
    </div>
<!--</div>-->

