Spaces:
Runtime error
Runtime error
Download templates/admin/edit_user.html from Darshankumarr03/Swift-Query: direct link, hf CLI and curl.
- Browser
- Download file 992 Bytes
-
https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/templates/admin/edit_user.html
- Command line
-
hf download hf://spaces/Darshankumarr03/Swift-Query/templates/admin/edit_user.html
-
curl -L -o edit_user.html https://huggingface.co/spaces/Darshankumarr03/Swift-Query/resolve/main/templates/admin/edit_user.html
992 Bytes
| <html> | |
| <head> | |
| <title>Edit {{ user_type.title() }}</title> | |
| </head> | |
| <body> | |
| <h1>Edit {{ 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" value="{{ user.name }}" required><br><br> | |
| {% endif %} | |
| {% if user_type == 'doctors' %} | |
| <label for="specialization">Specialization:</label> | |
| <input type="text" id="specialization" name="specialization" value="{{ user.specialization }}" required><br><br> | |
| {% endif %} | |
| <label for="username">Username:</label> | |
| <input type="text" id="username" name="username" value="{{ user.username }}" required><br><br> | |
| <label for="password">New Password (optional):</label> | |
| <input type="password" id="password" name="password"><br><br> | |
| <button type="submit">Update</button> | |
| </form> | |
| </body> | |
| </html> |