Add description to photo fields that explains how to attach multiple photos.
This commit is contained in:
parent
61d16ab2c9
commit
f4ecb23098
|
@ -349,6 +349,7 @@ function farm_livestock_move_form($form, &$form_state) {
|
|||
$form['move']['observations']['post']['photos'] = array(
|
||||
'#type' => 'managed_file',
|
||||
'#title' => t('Photos'),
|
||||
'#description' => t('Optionally attach a photo to this observation log. If multiple photos need to be attached, edit the log that is created by this form.'),
|
||||
'#name' => 'files[]',
|
||||
'#progress_indicator' => 'bar',
|
||||
'#upload_validators' => array(
|
||||
|
@ -380,6 +381,7 @@ function farm_livestock_move_form($form, &$form_state) {
|
|||
$form['move']['observations']['pre']['photos'] = array(
|
||||
'#type' => 'managed_file',
|
||||
'#title' => t('Photos'),
|
||||
'#description' => t('Optionally attach a photo to this observation log. If multiple photos need to be attached, edit the log that is created by this form.'),
|
||||
'#name' => 'files[]',
|
||||
'#progress_indicator' => 'bar',
|
||||
'#upload_validators' => array(
|
||||
|
|
Loading…
Reference in New Issue