Skip to content
Snippets Groups Projects
Commit b1ba047a authored by llaffont's avatar llaffont
Browse files

Albums: les champs de saisie ne dépassent plus du formulaire

parent 75c4477b
Branches
Tags
No related merge requests found
......@@ -80,12 +80,12 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
->setAttrib('id', 'album')
->setAttrib('enctype', self::ENCTYPE_MULTIPART)
->addElement('text', 'titre', ['label' => 'Titre *',
'size' => 80,
'size' => 75,
'required' => true,
'allowEmpty' => false])
->addElement('text', 'sous_titre', ['label' => 'Sous-titre',
'size' => 80])
'size' => 75])
->addElement('select', 'cat_id', ['label' => 'Catégorie',
'multiOptions' => Class_AlbumCategorie::getAllLibelles()])
......@@ -93,7 +93,7 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
->addElement('checkbox', 'visible', ['label' => 'Visible'])
->addElement('text', 'auteur', ['label' => 'Auteur',
'size' => 80])
'size' => 75])
->addElement('ckeditor', 'description')
......@@ -102,13 +102,13 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
'maxlength' => 4])
->addElement('text', 'editeur', ['label' => 'Editeur',
'size' => 80])
'size' => 75])
->addElement('text', 'cote', ['label' => 'Cote',
'size' => 20])
->addElement('text', 'provenance', ['label' => 'Provenance',
'size' => 80])
'size' => 75])
->addElement('select', 'id_langue', ['label' => 'Langue',
'multioptions' => Class_CodifLangue::allByIdLibelle()])
......@@ -191,7 +191,9 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
2 => 'Autre, Précisez']])
->addElement('text', 'droits_precision',
['label' => '', 'value' => $current_precision, 'size' => 80]);
['label' => '',
'value' => $current_precision,
'size' => 75]);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment