           <h3>Merge</h3>
         </div>
         <div class="modal-body container-fluid">
-          <div class="form-group">
-            <label for="task">Task</label>
-            <div class="row">
-              <div class="col-md-10 task">
-                <input type="text" class="form-control" placeholder="Task id"></input>
-              </div>
-              <div class="col-md-2">
-                <button class="btn btn-primary" id="task-merge">Merge</button>
-              </div>
-            </div>
-          </div>
           <div class="form-group">
             <label for="task-type">Task type</label>
             <div class="row">

    )


  mergeTask : ->

    taskId = @ui.task.find("input").val()
    if taskId
      url = "/annotations/CompoundTask/#{taskId}/merge/#{@_model.tracingType}/#{@_model.tracingId}"
      @merge(url)
    else
      Toast.error("Please input a valid task id")


  mergeTaskType : ->

    taskTypeId = @ui.tasktype.find("select :selected").prop("id")

    "explorative" : ".explorative"

  events :
    "click #task-type-merge"          : "mergeTaskType"
    "click #project-merge"            : "mergeProject"
    "click #nml-merge"                : "mergeNml"
