Form:News
From BioDIP
(Difference between revisions)
(24 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> | ||
{{{for template|News}}} | {{{for template|News}}} | ||
{| class="formtable" | {| class="formtable" | ||
− | | {{{field|category| | + | ! Facility: |
+ | | {{{field|facility|mandatory|values from category=Facility|default=IFN}}} | ||
+ | |- | ||
+ | ! Topic: | ||
+ | | {{{field|topic|mandatory|values from category=Topic-db|default=The Network}}} | ||
+ | |- | ||
! News Text: | ! News Text: | ||
| {{{field|text|mandatory|input type=textarea}}} | | {{{field|text|mandatory|input type=textarea}}} | ||
|- | |- | ||
− | ! | + | ! Show on main page? |
− | | {{{field|date|input type= | + | | {{{field|include|mandatory|input type=radiobutton|values=Yes,No|default=Yes}}} |
+ | |- | ||
+ | | {{{field|category|hidden|default=news}}} | ||
+ | | {{{field|date|input type=date|mandatory|hidden|default=now}}} | ||
+ | | {{{field|user|input type=text|hidden|default=current user|mandatory}}} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} |
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.