Ejemplo n.º 1
0
 public static function insert_comment_form()
 {
     HtmlBuilder::start_view_block('div', '', ' ', 'background-color:white;' . 'height:100%; width: 100%; padding: 30px;border-style:' . 'solid;border-width:2px;border-radius:5px;');
     HtmlBuilder::start_form('posts', 'add_post', 'post');
     HtmlBuilder::insert_textarea('comment', 'comment');
     HtmlBuilder::start_view_block('div', '', 'input-group', '');
     HtmlBuilder::insert_button("submit", "btn btn-default", "submit", "submit");
     self::insert_glyphicon('glyphicon-share');
     HtmlBuilder::end_view_block('button');
     HtmlBuilder::end_view_block('div');
     HtmlBuilder::end_view_block('form');
     HtmlBuilder::end_view_block('div');
 }