@@ -96,18 +96,29 @@ var TutorialConfig = (function (_super) {
9696 } ;
9797 TutorialConfig . prototype . render = function ( ) {
9898 var _a = this . props , submitting = _a . submitting , handleSubmit = _a . handleSubmit , invalid = _a . invalid , packageJson = _a . packageJson ;
99- return ( React . createElement ( "section" , { className : 'cr-page' } , React . createElement ( Card_1 . Card , { style : styles . card } , React . createElement ( Card_1 . CardTitle , { style : styles . title , title : 'Tutorial Configuration' } ) , React . createElement ( Card_1 . CardText , null , React . createElement ( "form" , { style : styles . form , onSubmit : handleSubmit ( this . onSubmit . bind ( this ) ) } , React . createElement ( redux_form_1 . Field , { id : 'name' , name : 'name' , component : textField_1 . default . bind ( null , {
100- floatingLabelText : 'Tutorial Name' ,
101- hintText : 'coderoad-tutorial-name' ,
102- } ) , tabIndex : '1' } ) , React . createElement ( redux_form_1 . Field , { name : 'runnerItem' , component : selectField_1 . default . bind ( null , {
103- children : runnerItems_1 . default ( ) ,
104- floatingLabelText : 'runner' ,
105- id : 'runner' ,
106- } ) , tabIndex : '2' } ) , React . createElement ( redux_form_1 . Field , { id : 'repo' , name : 'repo' , component : textField_1 . default . bind ( null , {
107- floatingLabelText : 'Path to Repo (optional)' ,
108- hintText : 'http://github.com/path/to/repo' ,
109- type : 'url' ,
110- } ) , tabIndex : '3' } ) , React . createElement ( RaisedButton_1 . default , { type : 'submit' , style : styles . button , label : 'Save' , primary : true , disabled : submitting } ) , React . createElement ( RaisedButton_1 . default , { style : styles . button , label : 'Continue' , secondary : true , disabled : invalid , onTouchTap : this . routeToPage . bind ( this ) } ) ) ) ) ) ) ;
99+ return ( React . createElement ( "section" , { className : 'cr-page' } ,
100+ React . createElement ( Card_1 . Card , { style : styles . card } ,
101+ React . createElement ( Card_1 . CardTitle , { style : styles . title , title : 'Tutorial Configuration' } ) ,
102+ React . createElement ( Card_1 . CardText , null ,
103+ React . createElement ( "form" , { style : styles . form , onSubmit : handleSubmit ( this . onSubmit . bind ( this ) ) } ,
104+ React . createElement ( redux_form_1 . Field , { id : 'name' , name : 'name' , component : textField_1 . default . bind ( null , {
105+ floatingLabelText : 'Tutorial Name' ,
106+ hintText : 'coderoad-tutorial-name' ,
107+ } ) , tabIndex : '1' } ) ,
108+ React . createElement ( redux_form_1 . Field , { name : 'runnerItem' , component : selectField_1 . default . bind ( null , {
109+ children : runnerItems_1 . default ( ) ,
110+ floatingLabelText : 'runner' ,
111+ id : 'runner' ,
112+ } ) , tabIndex : '2' } ) ,
113+ React . createElement ( redux_form_1 . Field , { id : 'repo' , name : 'repo' , component : textField_1 . default . bind ( null , {
114+ floatingLabelText : 'Path to Repo (optional)' ,
115+ hintText : 'http://github.com/path/to/repo' ,
116+ type : 'url' ,
117+ } ) , tabIndex : '3' } ) ,
118+ React . createElement ( RaisedButton_1 . default , { type : 'submit' , style : styles . button , label : 'Save' , primary : true , disabled : submitting } ) ,
119+ React . createElement ( RaisedButton_1 . default , { style : styles . button , label : 'Continue' , secondary : true , disabled : invalid , onTouchTap : this . routeToPage . bind ( this ) } ) )
120+ ) )
121+ ) ) ;
111122 } ;
112123 TutorialConfig = __decorate ( [
113124 react_redux_1 . connect ( function ( state ) { return ( {
0 commit comments