mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8696 - Just reduced input field from 64 to 48
This commit is contained in:
parent
21b89cb43b
commit
9217695a64
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue