MDL-8696 - Just reduced input field from 64 to 48
This commit is contained in:
@@ -21,7 +21,7 @@ class mod_forum_post_form extends moodleform {
|
||||
|
||||
$mform->addElement('header', 'general', '');//fill in the data depending on page params
|
||||
//later using set_data
|
||||
$mform->addElement('text', 'subject', get_string('subject', 'forum'), 'size="64"');
|
||||
$mform->addElement('text', 'subject', get_string('subject', 'forum'), 'size="48"');
|
||||
$mform->setType('subject', PARAM_TEXT);
|
||||
$mform->addRule('subject', get_string('required'), 'required', null, 'client');
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class mod_resource_mod_form extends moodleform_mod {
|
||||
|
||||
// $mform->addElement('static', 'statictype', get_string('assignmenttype', 'assignment'), get_string('type'.$type,'assignment'));
|
||||
|
||||
$mform->addElement('text', 'name', get_string('name'), array('size'=>'64'));
|
||||
$mform->addElement('text', 'name', get_string('name'), array('size'=>'48'));
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user