Skip to content
Permalink
48e450480a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
47 lines (43 sloc) 1.62 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Backoffice</title>
<meta name="description" content="form to populate the database">
<meta name="author" content="Daniel Dias">
<link href="{{host}}/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<header>
<h1>Backoffice</h1>
<a href="/logout">Log out</a>
</header>
{{#if msg}}
<p class="msg">{{msg}}</p>
{{/if}}
<main>
<form action="/secure/questionz" enctype="multipart/form-data" method="post">
<p>
<label for="question">Add your new valid question here :</label><br />
<input type="text" name="question" placeholder="" value="" required>
</p>
<p>
<label for="correct_answer">The corresponding valid answer here :</label><br />
<input type="text" name="correct_answer" placeholder="" value="" required>
</p>
<p><input type="submit" value="Create"></p>
</form>
<form action="/secure/gitcontentz" enctype="multipart/form-data" method="post">
<p>
<label for="title_of_content">Title of the Content you wish to add :</label><br />
<input type="text" name="title_of_content" placeholder="" value="" required>
</p>
<p>
<label for="block_of_content">Block of content you wish to add :</label><br />
<input type="text" name="block_of_content" placeholder="" value="" required>
</p>
<p><input type="submit" value="Create"></p>
</form>
</main>
</body>
</html>