Esempio n. 1
0
                                            <b><span class="pozdrav">Spremeni svoje podatke</span></b>
                                    </div>
                                </div>
                            </div>

                            <div class="panel-body">
                                <div class="container-fluid">
                                    <div class="row-fluid">
                                        <div class="col-lg-12 col-md-12 col-sm-12">
                                            <?php 
if ($form->isSubmitted() && $form->validate()) {
    try {
        $data = $form->getValue();
        CustomerController::profile($data);
    } catch (PDOException $exc) {
        CustomerController::profile();
    }
} else {
    echo $form;
}
?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>