Spaces:
Runtime error
Runtime error
Download templates/admin/add_user.html from Darshankumarr03/Swift-Query: direct link, hf CLI and curl.
- Browser
- Download file 895 Bytes
-
https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/templates/admin/add_user.html
- Command line
-
hf download hf://spaces/Darshankumarr03/Swift-Query/templates/admin/add_user.html
-
curl -L -o add_user.html https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/templates/admin/add_user.html
895 Bytes
| <html> | |
| <head> | |
| <title>Add {{ user_type.title() }}</title> | |
| </head> | |
| <body> | |
| <h1>Add {{ user_type.title() }}</h1> | |
| <form method="post"> | |
| {% if user_type == 'doctors' or user_type == 'patients' %} | |
| <label for="name">Name:</label> | |
| <input type="text" id="name" name="name" required><br><br> | |
| {% endif %} | |
| {% if user_type == 'doctors' %} | |
| <label for="specialization">Specialization:</label> | |
| <input type="text" id="specialization" name="specialization" required><br><br> | |
| {% endif %} | |
| <label for="username">Username:</label> | |
| <input type="text" id="username" name="username" required><br><br> | |
| <label for="password">Password:</label> | |
| <input type="password" id="password" name="password" required><br><br> | |
| <button type="submit">Add</button> | |
| </form> | |
| </body> | |
| </html> |