[%

    #----------------------------------------------------------------------
    # Arguments received by this template:
    # This list may not be exhaustive, and other parameters may be added or available.
    #
    # user - Reset password user
    # service_names - List of affected services
    # next_steps - List of invitation step objects
    #          {
    #               key => Key identifying the step type
    #               instructions => Instructions for that specific step
    #               services => List of services associate with that step
    #          }
    #
    # logins - List of login service objects
    #          {
    #              id => Dom Element ID
    #              url => url the button will direct them to when clicked
    #              button_text => label for the button
    #          }

%]
<div class="form-container">
    <p id="cpanel-services" >[% locale.maketext('Your change affects the following account services: [list_and,_1]', service_names) %]</p>

    [% FOREACH step IN next_steps %]
        [% IF step.value.services.size() %]
    <p id="[% step.key %]-instructions">[% step.value.instructions %]</p>
        [% END %]
    [% END %]

    [% FOREACH login IN logins -%]
    <div class="controls">
        <div class="login-btn">
            <a class="loginbtn" href="[% login.url %]" id="[% login.id %]">
                [% login.button_text %]
            </a>
        </div>
    </div>
    [% END %]

    <span id="resetpass-success">[%# marker for testing%]</span>
</div>