<div
  ng-class="{distancePointPlacement: (type =='point'),distanceLinePlacement: (type =='line')}"
>
  <label
    >{{'bizedition.branchementplacement.chooseStartPoint' | translate}}</label
  >
  <br />
  <button
    type="button"
    class="btn btn-default"
    title="{{'bizedition.pointplacement.startBtn' | translate}}"
    ng-click="start()"
  >
    <span class="glyphicon glyphicon-flag"></span>
  </button>

  <br />

  <label>{{'bizedition.branchementplacement.distancePrompt' | translate}}</label
  ><br />
  <input type="number" ng-model="distanceInput" style="width: 80px;" />

  <br />

  <div ng-show="type == 'line'">
    <label>{{'bizedition.branchementplacement.lengthPrompt' | translate}}</label
    ><br />
    <input type="number" ng-model="lengthInput" style="width: 80px;" /><br />

    <form name="angle">
      <table>
        <tr>
          <td style="padding-top: 5px;">
            <label>
              <input
                type="radio"
                name="angle"
                ng-model="angleChoice.value"
                value="azimut"
              />
              {{'bizedition.branchementplacement.azimutPrompt' | translate}}
            </label>
          </td>
          <td style="padding-top: 5px;">
            <label>
              <input
                type="radio"
                name="angle"
                ng-model="angleChoice.value"
                value="angle"
              />
              {{'bizedition.branchementplacement.anglePrompt' | translate}}
            </label>
          </td>
        </tr>
      </table>

      <input
        ng-show="angleChoice.value == 'angle'"
        type="number"
        ng-model="angleInput"
        style="width: 80px;"
      />
      <input
        ng-show="angleChoice.value == 'azimut'"
        type="number"
        ng-model="azimutInput"
        style="width: 80px;"
      />
    </form>
  </div>

  <br />

  <button type="button" class="btn btn-default" ng-click="onPopupClose()">
    <span class="glyphicon glyphicon-remove"></span>
  </button>
  <button
    type="button"
    class="btn btn-default"
    title="{{'bizedition.branchementplacement.seeStartPoint' | translate}}"
    ng-click="seeFeature()"
  >
    <span class="glyphicon glyphicon-eye-open"></span>
  </button>
  <button
    type="button"
    class="btn btn-default"
    title="{{'bizedition.branchementplacement.createStartPoint' | translate}}"
    ng-click="validateFeature()"
  >
    <span class="glyphicon glyphicon-ok-sign"></span>
  </button>
</div>
