mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
e553bfb204
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
53 lines
1.8 KiB
Twig
53 lines
1.8 KiB
Twig
{% extends "./layout/default.twig" %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{{ Form.open({'class' : 'form-horizontal','id' : 'preferences.code'}) }}
|
|
<input type="hidden" name="secret" value="{{ secret }}"/>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-6 col-sm-6">
|
|
<div class="box">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ 'pref_two_factor_auth_code'|_ }}</h3>
|
|
</div>
|
|
<div class="box-body">
|
|
<p class="text-info">
|
|
{{ 'pref_two_factor_auth_code_help'|_ }}
|
|
</p>
|
|
<div class="form group">
|
|
|
|
<div class="col-sm-8 col-md-offset-4">
|
|
<img src="{{ image }}" />
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form group">
|
|
<div class="col-sm-8 col-md-offset-4">
|
|
<p>{{ secret }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
{{ ExpandedForm.text('code', code, {'label' : 'Code'}) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
<div class="form-group">
|
|
<div class="col-sm-12">
|
|
<button type="submit" class="btn btn-success btn-lg">{{ 'pref_save_settings'|_ }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- form close -->
|
|
{{ Form.close|raw }}
|
|
{% endblock %}
|