mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Make the movement form a tree.
This commit is contained in:
parent
bfbed98499
commit
5580aa9e85
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ function farm_livestock_move_form($form, &$form_state) {
|
|||
'#description' => t('Use this form to record the movement of animals to an area. An activity log will be created with standard details filled in. You can also specify before/after observations of the area(s) that the animals are moving to/from.'),
|
||||
);
|
||||
|
||||
// Make the form a tree.
|
||||
$form['move']['#tree'] = TRUE;
|
||||
|
||||
// Define the date format for logs.
|
||||
$date_format = 'Y-m-d';
|
||||
|
||||
|
|
Loading…
Reference in a new issue