Form:News

From BioDIP
(Difference between revisions)
Jump to: navigation, search
 
(10 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"
! News Text:
+
! Facility:
| {{{field|text|mandatory|input type=textarea|default=-}}}
+
| {{{field|facility|mandatory|values from category=Facility|default=IFN}}}
 
|-
 
|-
 
! Topic:
 
! Topic:
| {{{field|topic|mandatory|values=IFN,Wiki,Course,Demo,system-specific,facility-specific|default=IFN}}}
+
| {{{field|topic|mandatory|values from category=Topic-db|default=The Network}}}
 +
|-
 +
! News Text:
 +
| {{{field|text|mandatory|input type=textarea}}}
 
|-
 
|-
! Include in news section?
+
! 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=datetime|mandatory|hidden|default=now}}}
+
| {{{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.


Personal tools