Add link to submission form in footer
This commit is contained in:
parent
d6adec144f
commit
6829f6b271
|
@ -21,6 +21,7 @@ fn construct_main_page() {
|
|||
let footer = Container::new(ContainerType::Footer)
|
||||
.with_raw(r#"<hr>"#) // Line seperator
|
||||
.with_link("/", "home") // Link to the root page
|
||||
.with_link("/submit.html", "submit recipe") // Link to submission form
|
||||
.with_link("/rss.xml", "rss") // Link the the Atom feed
|
||||
// License info
|
||||
.with_paragraph("Software licensed under the CNPLv7+")
|
||||
|
|
|
@ -203,6 +203,7 @@ impl Recipe {
|
|||
let footer = Container::new(ContainerType::Footer)
|
||||
.with_raw(r#"<hr>"#) // Line seperator
|
||||
.with_link("/", "home") // Link to the root page
|
||||
.with_link("/submit.html", "submit recipe") // Link to submission form
|
||||
.with_link("/rss.xml", "rss") // Link the the Atom feed
|
||||
// License info
|
||||
.with_paragraph("Software licensed under the CNPLv7+")
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<label for="servings">Servings:</label>
|
||||
<input type=text" id="servings" name="servings" placeholder="6">
|
||||
<input type="text" id="servings" name="servings" placeholder="6">
|
||||
</li>
|
||||
<li>
|
||||
<label for="ingredients">Ingredients:</label>
|
||||
|
@ -56,6 +56,7 @@ Bake in the over for 15 minutes"></textarea>
|
|||
<li class="button">
|
||||
<button type="submit">Submit Recipe!</button>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue