@@ -37,17 +37,17 @@ <h4>New to Binder? Get started with a Zero-to-Binder tutorial in <a href="https:
3737 {% block form %}
3838 < form id ="build-form " class ="form jumbotron ">
3939 < h4 id ="form-header " class ='row '> Build and launch a repository</ h4 >
40- < input type ="hidden " id ="provider_prefix " value ="gh "/>
40+ < input type ="hidden " id ="provider_prefix " value ="{{repo_providers.keys() | list | first}} "/>
4141 < div class ="form-group row ">
42- < label for ="repository "> Git repository URL (github.com, gitlab.com or self-host) </ label >
42+ < label for ="repository "> {{(repo_providers.values() | list | first).labels.text}} </ label >
4343 < div class ="input-group ">
4444 < div class ="input-group-btn " id ="url-type-btn ">
4545 < button type ="button " class ="btn btn-secondary dropdown-toggle "
4646 data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "
4747 title ="Specify source of repository "
4848 >
4949 < span id ="provider_prefix-selected ">
50- GitHub
50+ {{(repo_providers.values() | list | first).display_name}}
5151 </ span >
5252 < span class ="caret "> </ span >
5353 </ button >
@@ -57,19 +57,19 @@ <h4 id="form-header" class='row'>Build and launch a repository</h4>
5757 {% endfor %}
5858 </ ul >
5959 </ div >
60- < input class ="form-control " type ="text " id ="repository " data-lpignore ="true " placeholder ="GitHub repository name or link "/>
60+ < input class ="form-control " type ="text " id ="repository " data-lpignore ="true " placeholder ="{{(repo_providers.values() | list | first).labels.text}} "/>
6161 </ div >
6262 </ div >
6363 < div class ="form-row row ">
6464 < div class ="form-group col-md-4 ">
65- < label for ="ref "> Git branch, tag, or commit </ label >
66- < input class ="form-control " type ="text " id ="ref " placeholder ="master "/>
65+ < label for ="ref "> {{(repo_providers.values() | list | first).labels.tag_text}} </ label >
66+ < input class ="form-control " type ="text " id ="ref " placeholder ="HEAD "/>
6767 </ div >
6868 < div class ="form-group col-md-6 ">
69- < label for ="filepath "> </ label >
69+ < label for ="filepath "> Path to a notebook file (optional) </ label >
7070 < div class ="input-group ">
7171 < input class ="form-control " type ="text " id ="filepath "
72- placeholder =""
72+ placeholder ="Path to a notebook file (optional) "
7373 />
7474 < div class ="input-group-btn " id ="url-or-file-btn ">
7575 < button type ="button " class ="btn btn-secondary dropdown-toggle "
@@ -102,7 +102,8 @@ <h4 id="form-header" class='row'>Build and launch a repository</h4>
102102 < label > Copy the URL below and share your Binder with others:</ label >
103103 </ div >
104104 < div class ="url-row ">
105- < pre id ="basic-url-snippet " data-default ="Fill in the fields to see a URL for sharing your Binder. "> </ pre >
105+ < pre id ="basic-url-snippet " data-default ="Fill in the fields to see a URL for sharing your Binder. "
106+ > Fill in the fields to see a URL for sharing your Binder.</ pre >
106107 < img class ="icon clipboard " src ="{{static_url( "images /copy-icon-black.svg")}}" data-clipboard-target="#basic-url-snippet " alt ="Copy to clipboard ">
107108 </ div >
108109 </ div >
0 commit comments