<div ng:controller="ArticleSettingsController" class="row-fluid" qn:fillheight>
    <div class="toolbar cfix">
        <div class="toolbar-group">
            <h3>
                <span ng:click="back()" class="circle circle-small blue"><span class="icon li_cloud"></span></span>
                {{$resource('articles.settings')}}
            </h3>
        </div>
        <div class="toolbar-group">
            <button title="{{$resource('utility.home')}}" class="button tooltip" ng:click="back()"><i class="icon-angle-left"></i></button>
            <button title="{{$resource('utility.refresh')}}" class="button tooltip" ng:click="refresh()"><i class="icon-refresh"></i></button>
        </div>
    </div>
    <div class="form fillh">
        <form name="Article" class="form-horizontal">
            <div class="control-group required">
                <label class="control-label">{{$resource('articles.page_size')}}</label>
                <div class="controls">
                    <input type="text" class="col10" name="Title" ng:model="settings.GeneralPageSize" required />
                </div>
            </div>
            <div class="control-group required">
                <label class="control-label">{{$resource('articles.classifications')}}</label>
                <div class="controls">
                    <select multiple="multiple"  ng:model="settings.ClassificationIds" ng:options="classification.ID as classification.Name for classification in settings.Classifications"></select>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"></label>
                <div class="controls">
                    <button class="button green" ng:disabled="Article.$invalid" ng:click="save()">{{$resource('articles.save')}}</button>
                    <button type="button" class="button" ng:click="back()">{{$resource('articles.cancel')}}</button>
                </div>
            </div> 
        </form>
    </div>
</div>