Form:News
From BioDIP
(Difference between revisions)
(9 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
Enter a title for news. If news with that name already exist, you will be sent to a form to edit that news. | Enter a title for news. If news with that name already exist, you will be sent to a form to edit that news. | ||
− | {{#forminput:News}} | + | {{#forminput:News|autocomplete on category=News}} |
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 8: | Line 8: | ||
{| class="formtable" | {| class="formtable" | ||
! Facility: | ! Facility: | ||
− | | {{{field|facility|mandatory|values= | + | | {{{field|facility|mandatory|values from category=Facility|default=IFN}}} |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
! Topic: | ! Topic: | ||
− | | {{{field|topic|mandatory|values= | + | | {{{field|topic|mandatory|values from category=Topic-db|default=The Network}}} |
+ | |- | ||
+ | ! News Text: | ||
+ | | {{{field|text|mandatory|input type=textarea}}} | ||
|- | |- | ||
− | ! | + | ! Show on main page? |
| {{{field|include|mandatory|input type=radiobutton|values=Yes,No|default=Yes}}} | | {{{field|include|mandatory|input type=radiobutton|values=Yes,No|default=Yes}}} | ||
|- | |- | ||
| {{{field|category|hidden|default=news}}} | | {{{field|category|hidden|default=news}}} | ||
− | | {{{field|date|input type= | + | | {{{field|date|input type=date|mandatory|hidden|default=now}}} |
| {{{field|user|input type=text|hidden|default=current user|mandatory}}} | | {{{field|user|input type=text|hidden|default=current user|mandatory}}} | ||
|} | |} |
Latest revision as of 16:22, 25 September 2009
Enter a title for news. If news with that name already exist, you will be sent to a form to edit that news.