<form name="newTemplateForm" novalidate>
  <div class="form-group">
    <label for="roomname">Enter the new room name. Room Templates created in the Virtual Editor are exported and saved
      automatically, in real time to your Dealer Account File Explorer.</label>
    <input class="form-control" type="text" name="roomname" id="roomname" placeholder="Room name" ng-model="startNewTemplate.name" required>

    <p class="help-block" ng-show="newTemplateForm.filename.$dirty && newTemplateForm.filename.$error.required">This field is required.</p>
  </div>
</form>

<div class="left-and-right">
  <a ui-sref="virtual-editor.main" class="btn btn-primary btn-prev"><i class="fa fa-caret-left"></i> Back</a>
  <button class="btn btn-primary" ng-disabled="newTemplateForm.$invalid" ng-click="finish()">Finish</button>
</div>
