
@{
	Layout = null;
	string destinataire = ViewBag.Destinataire;
}

<!DOCTYPE html>

<html>
<head>
	<meta name="viewport" content="width=device-width" />
	<link href="~/Content/bootstrap.css" rel="stylesheet" />
	<link href="~/Content/Site.css" rel="stylesheet" />
	<title>Ecrire</title>
</head>
<body>
	<div class="container">
		<h1>Ecrire a @destinataire</h1>
		<p>@Html.ActionLink("<== back", "Index")</p>
		@using (Html.BeginForm(null, null, null, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
			<div class="form-group">
				<label class="col-sm-2 control-label" for="form-group-input">Message</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="corps" name="msg" placeholder="Votre message">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 col-sm-10">
					<input type="submit" class="btn btn-default" value="Envoyer">
				</div>
			</div>
		}
	</div>
</body>
</html>
