-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2c3840
commit 7303a87
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<!-- CSS only --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"> | ||
<title>Document</title> | ||
|
||
<link rel="stylesheet" href="/styles/forms.css"> | ||
</head> | ||
|
||
<body> | ||
<form class="form" action="/articles/new" method="POST"> | ||
<h1>Edit or delete article</h1> | ||
<hr> | ||
<label for="id">ID:</label> | ||
<input type="text" name="id" id="id" required> | ||
|
||
<label for="title">Edit title:</label> | ||
<input type="text" name="title" id="title" required> | ||
|
||
<label for="content">Edit content:</label> | ||
<textarea rows="5" name="content" id="content" required></textarea> | ||
<button type="submit" class="registerbtn">Post</button> | ||
<button type="submit" class="deletebtn">Delete article</button> | ||
|
||
</form> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.