display old html::form_1button like a button inline-block

This commit is contained in:
Ralf Becker 2014-03-25 12:18:38 +00:00
parent fb9787c26b
commit cd10c228fa

View File

@ -759,7 +759,7 @@ class html
*/
static function form_1button($name,$label,$hidden_vars,$url,$url_vars='',$form_name='',$method='POST')
{
return self::form(self::submit_button($name,$label),$hidden_vars,$url,$url_vars,$form_name,'',$method);
return self::form(self::submit_button($name,$label),$hidden_vars,$url,$url_vars,$form_name,' style="display: inline-block"',$method);
}
const THEAD = 1;