flask app for plurals to publicly share member lists

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <div class="title">{% block title %}Edit {{ member[3] }}{% endblock %}</div>
  4. {% endblock %}
  5. {% block content %}
  6. <div class="heading">Edit Details</div>
  7. <form method="post">
  8. <label for="name">Name</label>
  9. <input name="name" id="name" value="{{ member[3] }}" required><br>
  10. <label for="subtitle">Subtitle</label>
  11. <input name="subtitle" id="subtitle" value="{{ member[4] }}"><br>
  12. <label for="bio">Description</label>
  13. <textarea name="bio" id="bio">{{ member[5] }}</textarea><br>
  14. <input type="submit" value="Submit">
  15. </form>
  16. <div class="heading">Manage Icons</div>
  17. <form method="post" enctype="multipart/form-data">
  18. <input type="file" name="file">
  19. <input type="submit" value="Upload New Icon">
  20. </form>
  21. {% for icon in icons %}
  22. <img class="icon" src="{{ url_for('static', filename='icons/'+icon[2]) }}">
  23. <br class="clear" />
  24. <a href="{{ url_for('manage.set_main_icon', mid=member[0], icon_id=icon[0]) }}">Set Main Icon</a> &#9734 <a href="">Delete Icon</a>
  25. <br class="clear" />
  26. <hr>
  27. {% endfor %}
  28. {{ error }}
  29. {% endblock %}