Changeset - dd0ea791f9b3
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2014-12-12 14:26:15
dennis.fink@c3l.lu
Use url_for for submit address in BPMForm on root.contact page
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/root/contact.html
Show inline comments
 
{% extends "base.html" %}
 

	
 
{% set title = "Contact" %}
 

	
 
{% block content %}
 
  <div class="col-md-4 text-center">
 
    <img src="{{ url_for('static', filename='images/Contact.png') }}" class="img-rounded" alt="WhoIs" width="160"></img>
 
    <h2>Contact</h2>
 
  </div>
 
  <div class="col-md-8">
 
    <h2>General</h2>
 
    <div class="pull-right">
 
      <form class="form-inline" role="form" method="POST" action="/contact">
 
      <form class="form-inline" role="form" method="POST" action="{{ url_for('root.contact') }}">
 
        {{ form.hidden_tag()}}
 
        <div class="form-group">
 
          {{ form.country.label }}
 
          {{ form.country(_class="form-control") }}
 
        </div>
 
        <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
      </form>
 
    </div>
 
    <div class="clearfix"></div>
 

	
 
    <p>Please mail all general inqueries to:</p>
 
    <address>
0 comments (0 inline, 0 general)