]> BookStack Code Mirror - bookstack/blob - resources/views/mfa/verify/totp.blade.php
Extracted text to translation files
[bookstack] / resources / views / mfa / verify / totp.blade.php
1 <div class="setting-list-label">{{ trans('auth.mfa_option_totp_title') }}</div>
2
3 <p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p>
4
5 <form action="{{ url('/mfa/totp/verify') }}" method="post">
6     {{ csrf_field() }}
7     <input type="text"
8            name="code"
9            placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
10            class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">
11     @if($errors->has('code'))
12         <div class="text-neg text-small px-xs">{{ $errors->first('code') }}</div>
13     @endif
14     <div class="mt-s text-right">
15         <button class="button">{{ trans('common.confirm') }}</button>
16     </div>
17 </form>