ref: balance
src/templates/new_group.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
{% extends 'layout.html' %} {% block body %} <section class="messages"> {% with messages = get_flashed_messages() %} {% if messages %} <section> {{ messages[0] }} </section> {% endif %} {% endwith %} </section> <form action='{{ url_for('groups.index') }}' method="POST"> <div class="form-section"> <label for="name">Name</label> <input type="text" placeholder="Name" name="name"> </div> <div class="form-section"> <label for="location">Location</label> <input type="text" placeholder="Location" name="location"> </div> <div class="form-section"> <label for="lat">Lat</label> <input type="text" placeholder="Lat" name="lat"> </div> <div class="form-section"> <label for="lng">Lng</label> <input type="text" placeholder="Lng" name="lng"> </div> <div class="form-action"> <button type="submit" rel="button">Criar Grupo </button> </div> </form> {% endblock %} |