* Now using Blueprints instead of importing modules. * Now using def create_app instead of just app
26 lines
774 B
HTML
26 lines
774 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>BCNS</title>
|
|
</head>
|
|
<body>
|
|
{% extends "navigation.html" %}
|
|
{% block content %}
|
|
<h1>{{lang_home_body_header}}</h1>
|
|
<form action="{{url_for('home')}}" method="POST">
|
|
<p>{{lang_home_change_language}}</p>
|
|
<select name="language_select">
|
|
{% for language in languages %}
|
|
{% if lang_code == language %}
|
|
<option selected>{{language}}</option>
|
|
{% else %}
|
|
<option>{{language}}</option>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</select>
|
|
<button type="submit" name="change_language">{{lang_home_change_language_button}}</input>
|
|
</form>
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|