text/html
•
696 B
•
23 lines
<!DOCTYPE html>
<html>
<head>
<title>New project</title>
</head>
<body>
<section>
<h1>Create a new project</h1>
<p>Give it a name and we'll generate a slug.</p>
{% if let Some(msg) = message %}
<div class="message" role="status">{{ msg }}</div>
{% endif %}
<form method="post" action="/projects/new" class="stack card simple-form">
<input type="hidden" name="_csrf" value="{{ csrf_token }}">
<label>
Project name
<input name="name" type="text" required>
</label>
<button type="submit">Create project</button>
</form>
</section>
</body>
</html>