 
 class TaskCreateFromView extends Backbone.Marionette.LayoutView
 
-  constructor: (@type) ->
+  constructor: (type) ->
     super
+    @isFromForm = type == "from_form"
 
   id : "create-from"
   template : _.template("""

    <div class="col-sm-12">
    <div class="well">
      <div class="col-sm-9 col-sm-offset-2">
        <% if(this.type == "from_form") { %>
          <h3>Create Task</h3>
          <br/>
        <% } else { %>

    @team.show(teamSelectionView)
    @project.show(projectSelectionView)

    if (@isFromForm)
      createFromNMLView = new TaskCreateFromNMLView()
      @subview.show(createFromNMLView)
    else
