1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
ihatemoney_ynh/budget/templates/add_bill.html

27 lines
777 B
HTML
Raw Normal View History

2011-03-10 03:37:21 +01:00
{% extends "layout.html" %}
{% block head %}
2011-11-27 23:28:24 +01:00
<script src="{{ url_for("static", filename="js/jquery-ui.js") }}"></script>
{% if g.lang != "en" %}
2011-11-27 23:28:24 +01:00
<script src="{{ url_for("static", filename="js/i18n/jquery.ui.datepicker-%s.js" % g.lang ) }}"></script>
{% endif %}
{% endblock %}
{% block js %}
$('#cancel-form').click(function(){location.href={{ url_for(".list_bills") }};});
$.datepicker.setDefaults({'dateFormat': 'yy-mm-dd'});
$(".datepicker").datepicker($.datepicker.regional['{{ g.lang }}']);
{% endblock %}
2011-07-29 17:14:33 +02:00
{% block top_menu %}
<a href="{{ url_for(".list_bills") }}">{{ _("Back to the list") }}</a>
2011-07-29 17:14:33 +02:00
{% endblock %}
2011-03-10 03:37:21 +01:00
{% block content %}
<form class="form-horizontal" method="post">
2011-09-09 19:14:19 +02:00
{{ forms.add_bill(form, edit) }}
2011-08-21 01:42:10 +02:00
</form>
2011-03-10 03:37:21 +01:00
{% endblock %}