<md-content layout="column" style="margin-right:10px;max-height: 77vh;">
    <h3>{{$ctrl.task.name}}</h3>
    <div layout="row" layout-align="start center">
        <mc-new-process-menu button-name="SET TEMPLATE"
                             button-class="md-primary"
                             on-selected="$ctrl.selectedTemplate(templateId, processId)">
        </mc-new-process-menu>
        <md-button class="md-primary">Append To Note</md-button>
        <md-button class="md-primary">
            <i class="fa fa-fw fa-plus"></i>
            files
        </md-button>
        <md-button class="md-primary">
            <i class="fa fa-fw fa-plus"></i>
            samples
        </md-button>
    </div>

    <label>Note</label>
    <div md-whiteframe layout-margin>
        <div ckeditor="editorOptions"
             ng-model="$ctrl.task.note"
             ng-model-options="{debounce: 500}"
             ng-change="$ctrl.updateTaskNote()"
             contenteditable="true">
            {{$ctrl.task.note}}
        </div>
    </div>

    <mc-process-create ng-if="$ctrl.task.template" template="$ctrl.task.template"></mc-process-create>
</md-content>
<md-content layout="column" style="margin-right:10px;max-height: 77vh;">
    <h3>{{$ctrl.task.name}}</h3>
    <div layout="row" layout-align="start center">
        <mc-new-process-menu ng-if="!$ctrl.task.template"
                             button-name="SET TEMPLATE"
                             button-class="md-primary"
                             on-selected="$ctrl.selectedTemplate(templateId, processId)">
        </mc-new-process-menu>
        <md-button class="md-primary">Append To Note</md-button>
        <md-button class="md-primary">
            <i class="fa fa-fw fa-plus"></i>
            files
        </md-button>
        <md-button class="md-primary">
            <i class="fa fa-fw fa-plus"></i>
            samples
        </md-button>
    </div>

    <label>Note</label>
    <div md-whiteframe layout-margin>
        <div ckeditor="editorOptions"
             ng-model="$ctrl.task.note"
             ng-model-options="{debounce: 500}"
             ng-change="$ctrl.updateTaskNote()"
             contenteditable="true">
            {{$ctrl.task.note}}
        </div>
    </div>

    <mc-process-create ng-if="$ctrl.task.template" template="$ctrl.task.template"></mc-process-create>
</md-content>
Hide the SET TEMPLATE button when a template has been chosen.
Hide the SET TEMPLATE button when a template has been chosen.
