Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 389 | Rev 391 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 389 Rev 390
Línea 31... Línea 31...
31
 
31
 
32
    /**
32
    /**
33
     * Return to previous section
33
     * Return to previous section
34
     * @returns 
34
     * @returns 
35
     */
35
     */
36
    const handlePrevious = () => {
-
 
37
        setErrors([]);
-
 
38
        setPage(page - 1)
-
 
39
    };
-
 
Línea 40... Línea 36...
40
 
36
    const handlePrevious = () => setErrors([]) && setPage(page - 1);
41
 
37
 
42
    /**
38
    /**
43
     * Continue to the next section
39
     * Continue to the next section
44
     */
40
     */
Línea 45... Línea 41...
45
    const handleNext = () => validateSection() && setPage(page + 1);
41
    const handleNext = () => validateSection() && setPage(page + 1);
Línea 46... Línea 42...
46
        
42
 
47
 
43
 
Línea 73... Línea 69...
73
                        <div className="row">
69
                        <div className="row">
74
                            {errors.length > 0 &&
70
                            {errors.length > 0 &&
75
                                <div className="col-md-12 np-padding">
71
                                <div className="col-md-12 np-padding">
76
                                    {errors.map((error, index) => {
72
                                    {errors.map((error, index) => {
77
                                        return (
73
                                        return (
78
                                        <div class="alert alert-danger" role="alert" key={index}>
74
                                            <div class="alert alert-danger" role="alert" key={index}>
79
                                            {error}
75
                                                {error}
80
                                        </div>);
76
                                            </div>);
81
                                    })}
77
                                    })}
82
                                </div>
78
                                </div>
83
                            }
79
                            }
84
                            <div className="col-md-12 np-padding">
80
                            <div className="col-md-12 np-padding">
85
                                <ul class="wizard">
81
                                <ul class="wizard">