{% extends './layout/default' %}

{% block breadcrumbs %}
    {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
{% endblock %}

{% block content %}
    <form method="POST" action="{{ route('profile.logout-others.post') }}" accept-charset="UTF-8" class="form-horizontal">
        <input name="_token" type="hidden" value="{{ csrf_token() }}">

        <div class="row">
            <div class="col-lg-6 col-md-12 col-sm-12">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'logout_other_sessions'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <div class="form-group">
                            <label for="inputOldPassword" class="col-sm-4 control-label">{{ 'current_password'|_ }}</label>

                            <div class="col-sm-8">
                                <input type="password" class="form-control" id="inputOldPassword" placeholder="{{ 'current_password'|_ }}" spellcheck="false"
                                       name="password">
                            </div>
                        </div>
                    </div>
                    <div class="box-footer">
                        <button type="submit" class="btn btn-success pull-right">{{ 'logout_other_sessions'|_ }}</button>
                    </div>
                </div>
            </div>
        </div>
    </form>
    {% include 'partials.password-modal' %}
{% endblock %}
