This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 5050 < input name ="server_ip " type ="text " id ="fld_server " placeholder ="" class ="fieldItem " required ="" value ="<%= ob.server_ip %> ">
5151 </ div >
5252 < div class ="flexCol-5 sslSwitch-radio ustCol-border <% ob.errors.server_ip && print('invalid') %> ">
53- < % if(ob.SSL) { %>
54- < input type ="radio " class ="fieldItem " id ="js-sslOn " name ="sslSwitch " value ="true " checked /> < label for ="js-sslOn " class ="radioLabel "> < %= polyglot.t('SSLOn') %> </ label >
55- < input type ="radio " class ="fieldItem " id ="js-sslOff " name ="sslSwitch " value ="false " /> < label for ="js-sslOff " class ="radioLabel "> < %= polyglot.t('SSLOff') %> </ label >
56- < % } else { %>
57- < input type ="radio " class ="fieldItem " id ="js-sslOn " name ="sslSwitch " value ="true " /> < label for ="js-sslOn " class ="radioLabel "> < %= polyglot.t('SSLOn') %> </ label >
58- < input type ="radio " class ="fieldItem " id ="js-sslOff " name ="sslSwitch " value ="false " checked /> < label for ="js-sslOff " class ="radioLabel "> < %= polyglot.t('SSLOff') %> </ label >
59- < % } %>
53+ < input type ="radio " class ="fieldItem " id ="js-sslOn " name ="sslSwitch " value ="true " < % if(ob.SSL) { print("checked") } %> /> < label for ="js-sslOn " class ="radioLabel "> < %= polyglot.t('SSLOn') %> </ label >
54+ < input type ="radio " class ="fieldItem " id ="js-sslOff " name ="sslSwitch " value ="false " < % if(!ob.SSL) { print("checked") } %> /> < label for ="js-sslOff " class ="radioLabel "> < %= polyglot.t('SSLOff') %> </ label >
55+
6056 </ div >
6157 </ div >
6258 < div class ="flexRow ">
You can’t perform that action at this time.
0 commit comments