Re: setting <input> checked
Khalid Akram <[email protected]> Fri, 5 Dec 2014 14:47:18 +0000
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <D0A775C6.19879%[email protected]> |
--===============1320305313300472108== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_D0A775C619879kakramtagworldwidecom_" --_000_D0A775C619879kakramtagworldwidecom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Even better would be: <input class=3D"radio" type=3D"radio" name=3D"recipe_type" value=3D"Warm= up" [% IF flags && 16 %]checked=3D=93checked"[% 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. _______________________________________________ templates mailing list tem= [email protected]<mailto:[email protected]> http://= mail.template-toolkit.org/mailman/listinfo/templates This e-mail has been scanned for all viruses by Star. --_000_D0A775C619879kakramtagworldwidecom_ Content-Type: text/html; charset="Windows-1252" Content-ID: <D6C9153FBA31A24EBEFAECD427DDE51F-+qbaEWqYt8RPQVXajOEtGA@public.gmane.org> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-= 1252"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-li= ne-break: after-white-space;"> <div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-= size: 14px;"> Even better would be:</div> <div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-= size: 14px;"> <br> </div> <div> <div><span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: = medium;"> <input class=3D"radio" type=3D"radio&quo= t; name=3D"recipe_type" value=3D"Warmup" </span><= span style=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: medium= ;">[% IF flags && 16 %]</span>checked=3D=93checked"<span styl= e=3D"color: rgb(0, 0, 0); font-family: Calibri; font-size: medium;">[% END %]</span><span style=3D"color: rgb(0, 0, 0); font-family: Calibri; fo= nt-size: medium;"> />Warmup</span></div> </div> <div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-= size: 14px;"> <span style=3D"font-family: Calibri; font-size: medium;"><br> </span></div> <div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-= size: 14px;"> <br> </div> <span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-famil= y: Calibri, sans-serif; font-size: 14px;"> <div> <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fam= ily: Calibri, sans-serif;"> <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> </div> </div> _______________________________________________ templates mailing list <a = href=3D"mailto:[email protected]"> [email protected]</a> <a href=3D"http://mail.template-toolkit= .org/mailman/listinfo/templates"> http://mail.template-toolkit.org/mailman/listinfo/templates</a> </span> <br clear=3D"both"> This e-mail has been scanned for all viruses by Star.<BR> </body> </html> --_000_D0A775C619879kakramtagworldwidecom_-- --===============1320305313300472108== 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 --===============1320305313300472108==--