$L->g('Edit post'), 'icon'=>'pencil')); HTML::formOpen(array('class'=>'uk-form-stacked')); // Security token HTML::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$Security->getTokenCSRF() )); // Key input HTML::formInputHidden(array( 'name'=>'key', 'value'=>$_Post->key() )); // ---- LEFT SIDE ---- echo '
'; echo '
'; // Title input HTML::formInputText(array( 'name'=>'title', 'value'=>$_Post->title(), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>$L->g('Title') )); // Content input HTML::formTextarea(array( 'name'=>'content', 'value'=>$_Post->contentRaw(false), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>'' )); // Form buttons echo '
'.$L->g('Cancel').'
'; echo '
'; // ---- RIGHT SIDE ---- echo ''; echo '
'; HTML::formClose(); ?>