Exemplo n.º 1
0
//
//    $attribute = array(
//        'class' => 'col-xs-9 col-md-9',
//        'style' => 'background: blue; height: 20px;'
//    );
//
//
//    //body
//    Boostrap::openDiv($attribute); // column open
//        // open form
//        $attribute = array(
//            'class' => 'form-horizontal',
//            'action' => 'test.php'
//        );
//        Boostrap::openForm("Form Builder",$attribute);
//
//            $result = $db->getAllElements();
//            while($row = $result->fetch_assoc()) {
//                echo  $row["code"]. "<br>";
//            }
////        echo Element::button("submit");
////        echo Element::buttonLink("submit","test.html");
//        Boostrap::closeForm();
//    Boostrap::closeDiv(); //column end
//
//Boostrap::closeDiv(); // row end
// just call it here and see weather it works
echo Element::redio_Button();
//if parameters need pass
echo Element::text(array('label' => 'my custom text box', 'placeholder' => 'custom holder', 'help' => 'your help goes here'));
include "includes/footer.php";