Difference between revisions of "ContactTest.rythm"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
@header("en","ContactTest") | @header("en","ContactTest") | ||
@bootstrap() | @bootstrap() | ||
− | @formvalidate() | + | @formvalidate(fields) |
− | </head> | + | </head> |
− | <body> | + | <body> |
<div class="container"> | <div class="container"> | ||
− | + | @showform(fields) | |
− | + | </div><!-- /.container --> | |
− | + | <body> | |
− | |||
− | @ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <body> | ||
</html> | </html> | ||
</source> | </source> |
Revision as of 14:06, 4 November 2017
Links
https://codepen.io/jaycbrf/pen/iBszr
Rythm template
@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.Bootstrap.rythm)
@include(wiki.MediaWiki.Form.rythm)
@{
Field[] fields={
new Field("firstname","First name","Vorname","John","Erika","user",2),
new Field("lastname","Last name","Nachname","Doe","Mustermann","user",2),
new Field("email","E-Mail Address","E-Mail Adresse","envelope",5),
new Field("phone","Phone number","Telefonnummer","+1 845 555-1212","+49 30 675797","earphone",8),
new Field("address","Address","Adresse","home",8),
new Field("zip","ZIP Code","PLZ","home",3),
new Field("city","City","Ort","home",2)
};
}
@{ boolean de=true;}
@header("en","ContactTest")
@bootstrap()
@formvalidate(fields)
</head>
<body>
<div class="container">
@showform(fields)
</div><!-- /.container -->
<body>
</html>