-
Notifications
You must be signed in to change notification settings - Fork 1
Adding WIP webforms and Maestro templates. #26
Adding WIP webforms and Maestro templates. #26
Conversation
agger-magenta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, lad os endelig få de eksempler ind!
os2forms_forloeb.module
Outdated
| // $form['approve_content'] = array( | ||
| // '#id' => 'approve_content', | ||
| // '#type' => 'radios', | ||
| // '#options' => array( | ||
| // 0 => t("Assign for Review"), | ||
| // 1 => t("Approve") | ||
| // ), | ||
| // '#default_value' => 0, | ||
| // '#title' => t('Review or Approve Content '), | ||
| // '#required' => true, | ||
| // ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for why this commented code is present? Should it be removed? A comment for why it's still there would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code has been removed as it is not necessary for the review workflow.
| '#markup' => t('Select a Content Item.'), | ||
| ); | ||
|
|
||
| $content_type_options = array(""=>"All Content Types"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess an empty string as key in an array will work, but why not use "all" or something similar for better understanding? And also, should "All Content Types" be translated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes committed per comment. All good input.
No description provided.