<div ng:controller="ContentCreateController" class="row-fluid" id="body-main" qn:fillheight>
       <link rel="stylesheet" href="/Areas/Qusion/Scripts/Vendor/widgets/redactor/redactor.css" />
    <div class="toolbar cfix">
        <div class="toolbar-group">
            <h3>
                <span ng:click="back()" class="circle circle-small blue"><span class="icon li_user"></span></span>
                {{$resource('contents.new_content')}}
            </h3>
        </div>
        <div class="toolbar-group right">
            <button title="{{$resource('utility.home')}}" class="button tooltip" ng:click="back()"><i class="icon-angle-left"></i></button>
        </div>
    </div>
    <div class="col12">
        <div class="form form-horizontal fillh">
            <form name="Content" class="form-horizontal">
                <div class="control-group required">
                    <label class="control-label">{{$resource('contents.title')}}</label>
                    <div class="controls">
                        <input type="text" class="col6" name="FirstName" ng:model="content.Title" required />
                        <div ng:show="errors['newContent.Title'][0]" class="error" >{{$resource(errors['newContent.Title'][0])}}</div>
                    </div>
                </div>
                <div class="control-group required">
                    <label class="control-label">{{$resource('contents.content')}}</label>
                  <div class="controls" style="width: 600px">
                            <textarea name="Content" class="span5"  redactor ng:model="content.Content" required></textarea>
                            <div ng:show="errors['content.Content'][0]" style="display: block; clear: both; color: red; padding: 10px 0 0;">{{$resource(errors['content.Content'][0])}}</div>
                  </div>
                </div>
                <br/>
                <div class="control-group">
                    <label class="control-label"></label>
                    <div class="controls">
                        <button class="button green" ng:click="create()">{{$resource('contents.create')}}</button>
                        <button type="button" class="button" ng:click="back()">{{$resource('contents.cancel')}}</button>
                    </div>
                </div>>
            </form>
        </div>
    </div>
</div>