Re: setting <input> checked
Khalid Akram <[email protected]> Fri, 5 Dec 2014 14:43:00 +0000
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <D0A774D1.1986F%[email protected]> |
--===============0769385143381453720== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_D0A774D11986Fkakramtagworldwidecom_" --_000_D0A774D11986Fkakramtagworldwidecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Try: <input class=3D"radio" type=3D"radio" name=3D"recipe_type" value=3D"Warm= up" [% IF flags && 16 %]checked=3D"1"[% END %] />Warmup From: Bill McCormick <[email protected]<mailto:[email protected]>>= Date: Fri, 5 Dec 2014 08:38:35 -0600 To: <[email protected]<mailto:[email protected]>= > Subject: [Templates] setting <input> checked [% IF flags && 16 %] <input class=3D"radio" type=3D"radio" name=3D"recipe_type" value=3D"Warm= up" checked=3D"1" />Warmup [% ELSE %] <input class=3D"radio" type=3D"radio" name=3D"recipe_type" value=3D"Warm= up" />Warmup [% END %] This e-mail has been scanned for all viruses by Star. --_000_D0A774D11986Fkakramtagworldwidecom_ Content-Type: text/html; charset="us-ascii" Content-ID: <359839BAE580F543BB8B1CB6FD2D9C10-+qbaEWqYt8RPQVXajOEtGA@public.gmane.org> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii= "> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-li= ne-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fa= mily: Calibri, sans-serif;"> <div><br> </div> <div>Try:</div> <div><br style=3D"font-family: Calibri;"> <span style=3D"font-family: Calibri; font-size: medium;"> <input = class=3D"radio" type=3D"radio" name=3D"recipe_typ= e" value=3D"Warmup" </span><span style=3D"font-family:= Calibri; font-size: medium;">[% IF flags && 16 %]</span><span sty= le=3D"font-family: Calibri; font-size: medium;">checked=3D"1"</s= pan><span style=3D"font-family: Calibri; font-size: medium;">[% END %]</span><span style=3D"font-family: Calibri; font-size: medium;">&nb= sp;/>Warmup</span></div> <div><br> </div> <div><br> </div> <div><br> </div> <span id=3D"OLK_SRC_BODY_SECTION"> <div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:= black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTO= M: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt sol= id; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <span style=3D"font-weight:bold">From: </span>Bill McCormick <<a href=3D= "mailto:[email protected]">[email protected]</a>><br> <span style=3D"font-weight:bold">Date: </span>Fri, 5 Dec 2014 08:38:35 -06= 00<br> <span style=3D"font-weight:bold">To: </span><<a href=3D"mailto:template= [email protected]">[email protected]</a>><br> <span style=3D"font-weight:bold">Subject: </span>[Templates] setting <i= nput> checked<br> </div> <div><br> </div> <span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: mediu= m; font-style: normal; font-variant: normal; font-weight: normal; letter-s= pacing: normal; line-height: normal; orphans: auto; text-align: start; tex= t-indent: 0px; text-transform: none; white-space: normal; widows: auto; wo= rd-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan= t; float: none;">[% IF flags && 16 %]</span><br style=3D"color: rgb(0, 0, 0); font-fa= mily: Calibri; font-style: normal; font-variant: normal; font-weight: norm= al; letter-spacing: normal; line-height: normal; orphans: auto; text-align= : start; text-indent: 0px; text-transform: none; white-space: normal; wido= ws: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: mediu= m; font-style: normal; font-variant: normal; font-weight: normal; letter-s= pacing: normal; line-height: normal; orphans: auto; text-align: start; tex= t-indent: 0px; text-transform: none; white-space: normal; widows: auto; wo= rd-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan= t; float: none;"> <input class=3D"radio" type=3D"radio" name=3D"= ;recipe_type" value=3D"Warmup" checked=3D"1" />= ;Warmup</span><br style=3D"color: rgb(0, 0, 0); font-family: Calibri; font= -style: normal; font-variant: normal; font-weight: normal; letter-spacing:= normal; line-height: normal; orphans: auto; text-align: start; text-inden= t: 0px; text-transform: none; white-space: normal; widows: auto; word-spac= ing: 0px; -webkit-text-stroke-width: 0px;"> <span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: mediu= m; font-style: normal; font-variant: normal; font-weight: normal; letter-s= pacing: normal; line-height: normal; orphans: auto; text-align: start; tex= t-indent: 0px; text-transform: none; white-space: normal; widows: auto; wo= rd-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan= t; float: none;">[% ELSE %]</span><br style=3D"color: rgb(0, 0, 0); font-family: Calibri; fon= t-style: normal; font-variant: normal; font-weight: normal; letter-spacing= : normal; line-height: normal; orphans: auto; text-align: start; text-inde= nt: 0px; text-transform: none; white-space: normal; widows: auto; word-spa= cing: 0px; -webkit-text-stroke-width: 0px;"> <span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: mediu= m; font-style: normal; font-variant: normal; font-weight: normal; letter-s= pacing: normal; line-height: normal; orphans: auto; text-align: start; tex= t-indent: 0px; text-transform: none; white-space: normal; widows: auto; wo= rd-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan= t; float: none;"> <input class=3D"radio" type=3D"radio" name=3D"= ;recipe_type" value=3D"Warmup" />Warmup</span><br style=3D= "color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-varia= nt: normal; font-weight: normal; letter-spacing: normal; line-height: norm= al; orphans: auto; text-align: start; text-indent: 0px; text-transform: no= ne; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-str= oke-width: 0px;"> <span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: mediu= m; font-style: normal; font-variant: normal; font-weight: normal; letter-s= pacing: normal; line-height: normal; orphans: auto; text-align: start; tex= t-indent: 0px; text-transform: none; white-space: normal; widows: auto; wo= rd-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !importan= t; float: none;">[% END %]</span></span> <br clear=3D"both"> This e-mail has been scanned for all viruses by Star.<BR> </body> </html> --_000_D0A774D11986Fkakramtagworldwidecom_-- --===============0769385143381453720== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates --===============0769385143381453720==--