src/Core/Project.php
protected function renderInputForm() {
        $arrTableBody = [];
        
        foreach ($this->config['attributes'] as $attribute) {
            $label = isset($attribute['label'])?$attribute['label']:"";
            $fieldName = isset($attribute['name'])?$attribute['name']:"";
            $value = isset($attribute['default'])?$attribute['default']:"";
            $arrTableBody[] = [
                H::label($label, $fieldName),
                H::input($fieldName, "input", $value),
            ];
        }
        
        $content = H::renderTable([], $arrTableBody)
                 . H::button("Generate Code");
        $output = H::form($_SERVER['REQUEST_URI'], $content);
        $headers = "";
        if (defined('css_headers')) {
            foreach(css_headers as $css) {
                $headers .= H::link("", ["href" => $css, "rel" => "stylesheet"]);
            }
        }
        return H::htmlDocument("Codemonkey", $headers, $output);
    }
protected function renderInputForm() {
        $arrTableBody = [];
        
        foreach ($this->config['attributes'] as $attribute) {
            $label = isset($attribute['label'])?$attribute['label']:"";
            $fieldName = isset($attribute['name'])?$attribute['name']:"";
            $value = isset($attribute['default'])?$attribute['default']:"";
            $arrTableBody[] = [
                H::label($label, $fieldName),
                H::input($fieldName, "input", $value),
            ];
        }
        
        $content = H::renderTable([], $arrTableBody)
                 . H::button("Generate Code");
        $output = H::form($_SERVER['REQUEST_URI'], $content);
        $headers = "";
        if (defined('css_headers')) {
            foreach(css_headers as $css) {
                $headers .= H::link("", ["href" => $css, "rel" => "stylesheet"]);
            }
        }
        return H::htmlDocument("Codemonkey", $headers, $output);
    }
protected function renderInputForm ( ) { $ arrTableBody = [ ] ; foreach ( $ this -> config [ 'attributes' ] as $ attribute ) { $ label = isset ( $ attribute [ 'label' ] ) ? $ attribute [ 'label' ] : "" ; $ fieldName = isset ( $ attribute [ 'name' ] ) ? $ attribute [ 'name' ] : "" ; $ value = isset ( $ attribute [ 'default' ] ) ? $ attribute [ 'default' ] : "" ; $ arrTableBody [ ] = [ H :: label ( $ label , $ fieldName ) , H :: input ( $ fieldName , "input" , $ value ) , ] ; } $ content = H :: renderTable ( [ ] , $ arrTableBody ) . H :: button ( "Generate Code" ) ; $ output = H :: form ( $ _SERVER [ 'REQUEST_URI' ] , $ content ) ; $ headers = "" ; if ( defined ( 'css_headers' ) ) { foreach ( css_headers as $ css ) { $ headers .= H :: link ( "" , [ "href" => $ css , "rel" => "stylesheet" ] ) ; } } return H :: htmlDocument ( "Codemonkey" , $ headers , $ output ) ; }
Render webform for dynamic placeholders

@return string HTML Page
Render webform for dynamic placeholders