Demo entry 6343497



Submitted by anonymous on Jan 09, 2017 at 18:36
Language: Java Server Page. Code size: 4.3 kB.

  ~ Copyright 2015 Stormpath, Inc.
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="t" uri="" %>
<%@ taglib prefix="sp" uri="" %>

    <jsp:attribute name="title"><sp:message key="stormpath.web.changePassword.title"/></jsp:attribute>
    <jsp:attribute name="bodyCssClass">login</jsp:attribute>
        <div class="container custom-container">

            <div class="va-wrapper">

                <div class="view login-view container">

                    <div class="box row">

                        <div class="email-password-area col-xs-12 large col-sm-12">

                            <div class="header">
                                <span><sp:message key="stormpath.web.changePassword.form.title"/></span>
                                <p><sp:message key="stormpath.web.changePassword.form.instructions"/></p>

                            <c:if test="${!empty errors}">
                                <div class="alert alert-dismissable alert-danger bad-login">
                                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                                    <c:forEach items="${errors}" var="error">

                            <form method="post" role="form" class="login-form form-horizontal">
                                <c:forEach items="${form.fields}" var="field">
                                        <c:when test="${field.type == 'hidden'}">
                                            <input name="${}" value="${field.value}" type="${field.type}"/>
                                            <div form-group="true" class="form-group group-${}">
                                                <label class="col-sm-4">${field.label}</label>
                                                <div class="col-sm-8">
                                                    <input name="${}" value="${field.value}" type="${field.type}"
                                                           <c:if test="${field.required}">required="required" </c:if>

                                    <button type="submit" class="login btn btn-login btn-sp-green"><sp:message key="stormpath.web.changePassword.form.button.value"/></button>



                    <a href="${pageContext.request.contextPath}${loginUri}" class="to-login"><sp:message key="stormpath.web.changePassword.form.loginLink.text"/></a>




This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).