/** * Creates the html code for a button to get you back to the teacher home view. * Type: form input type = submit * @param int $lang_id Kielen tunniste. * @return type */ public function create_button_back_to_teacher_view($lang_id) { return Html::luo_forminput_painike(array(Attr::classs("inline-block")), array(Attr::classs("btn btn-" . Palautusnakymat::$btn_type_submit . " btn-" . Palautusnakymat::$btn_size_submit), Attr::value(Palautustekstit::button_back_to_teacher_view_value($lang_id)), Attr::title(Palautustekstit::button_back_to_teacher_view_title($lang_id)), Attr::name(Toimintonimet::$palautustoiminto))); }