  <md-input-container flex >
        <label for="fieldName">Field name</label>
        <input type="text" id="fieldName" ng-disabled="!isNewField" ng-model="fieldName" md-autofocus required/>
      </md-input-container>
      <md-input-container flex>
        <label for="fieldType">Field type</label>
        <md-select ng-model="fieldType" required>
          <md-option ng-repeat="fieldType in fieldTypes" value="{{fieldType}}">
            {{fieldType}}
          </md-option>
        </md-select>
      </md