Contact.rythm
Jump to navigation
Jump to search
Links
Source
@// Rythm template for the WikiCMS approach
@import com.bitplan.smw.PropertyMap
@args() {
String content,
String lang,
String title,
PropertyMap smwprops;
}
<!doctype html>
<html lang="@(lang)">
<head>
<!-- https://de.wikipedia.org/wiki/Bootstrap_(Framework) -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@(title)</title>
<!-- Einbinden des Bootstrap-Stylesheets -->
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- optional: Einbinden der jQuery-Bibliothek -->
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js"></script>
<!-- optional: Einbinden der Bootstrap-JavaScript-Plugins -->
<script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js"></script>
</head>
<body>
<header>
@{
Object languageCodeObj=smwprops.get("Language_code");
String languageCode="de";
if (languageCodeObj!=null) {
languageCode=languageCodeObj.toString();
}
}
</header>
<section class="container">
<form>
<div class="form-group">
<label for="email">Email address:</label>
<input type="email" class="form-control" id="email">
</div>
<div class="checkbox">
<label><input type="checkbox">Bitte um Rückruf</label>
</div>
<button type="submit" class="btn btn-default">Senden</button>
</form>
</section>
</body>
</html>