<div class="form_item_block required">
    <label>Pipeline <span class="autocomplete_stage">[Stage]</span><span class="asterisk">*</span></label>
    <%= scope[:form].text_field com.thoughtworks.go.config.materials.dependency.DependencyMaterialConfig::PIPELINE_STAGE_NAME, :class => "form_input required", :id => "material_pipelineStageName" -%>
    <%= error_message_on(scope[:material], com.thoughtworks.go.config.materials.dependency.DependencyMaterialConfig::PIPELINE_STAGE_NAME, :css_class => "form_error") %>
    <div class="autocomplete"></div>
</div>
<%= render :partial => 'admin/shared/dependency_auto_complete.html', :locals => {:scope => {:pipeline_stages_json => @pipeline_stages_json, :selector => "#material_pipelineStageName"}} %>

<div class="form_item_block">
  <label>Material Name</label>
  <%= scope[:form].text_field com.thoughtworks.go.config.materials.AbstractMaterialConfig::MATERIAL_NAME, :class => "form_input", :id => nil -%>
  <%= error_message_on(scope[:material], com.thoughtworks.go.config.materials.AbstractMaterialConfig::MATERIAL_NAME, :css_class => "form_error") %>
</div>
<div class="form_item_block required">
    <label>Pipeline <span class="autocomplete_stage">[Stage]</span><span class="asterisk">*</span></label>
    <%= scope[:form].text_field com.thoughtworks.go.config.materials.dependency.DependencyMaterialConfig::PIPELINE_STAGE_NAME, :class => "form_input required", :id => "material_pipelineStageName" -%>
    <%= error_message_on(scope[:material], com.thoughtworks.go.config.materials.dependency.DependencyMaterialConfig::PIPELINE_STAGE_NAME, :css_class => "form_error") %>
    <div class="autocomplete"></div>
</div>
<%= render :partial => 'admin/shared/dependency_auto_complete.html', :locals => {:scope => {:pipeline_stages_json => @pipeline_stages_json, :selector => "#material_pipelineStageName"}} %>

Add material name field for dependency material in pipeline creation wizard.
Add material name field for dependency material in pipeline creation wizard.
