Ejemplo n.º 1
0
def how_to_pay():
    return render_template(
        'views/pricing/how-to-pay.html',
        support_link=url_for('main.feedback',
                             ticket_type=QUESTION_TICKET_TYPE),
        navigation_links=pricing_nav(),
    )
Ejemplo n.º 2
0
def pricing():
    return render_template(
        'views/pricing/index.html',
        sms_rate=0.0158,
        international_sms_rates=sorted(
            [(cc, country['names'], country['billable_units'])
             for cc, country in INTERNATIONAL_BILLING_RATES.items()],
            key=lambda x: x[0]),
        search_form=SearchByNameForm(),
        navigation_links=pricing_nav(),
    )