Difference between revisions of "Form:Resources"

From Earth Science Information Partners (ESIP)
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<div class="card bg-light shadow-sm">
 
<div class="card bg-light shadow-sm">
 
<div class="card-body">
 
<div class="card-body">
{{form-row
+
{{{field
  |label=Portal
 
  |field={{{field
 
 
|Portal
 
|Portal
 
|input type=dropdown
 
|input type=dropdown
 
|values from category=Portals
 
|values from category=Portals
 
|class=form-control mb-1
 
|class=form-control mb-1
}}}
+
|hidden
}}
+
}}}<!-- -->{{{field
{{form-row
 
  |label=Topic
 
  |field={{{field
 
 
|Resources topic
 
|Resources topic
 
|input type=text with autocomplete
 
|input type=text with autocomplete
Line 21: Line 16:
 
|remote autocompletion
 
|remote autocompletion
 
|class=form-control mb-1
 
|class=form-control mb-1
}}}
+
|hidden
}}
+
}}}<!-- -->{{form-row
{{form-row
 
 
   |label=Description
 
   |label=Description
 
   |label-style=align-self:start !important
 
   |label-style=align-self:start !important
Line 60: Line 54:
 
   |label=Type
 
   |label=Type
 
   |field={{{field
 
   |field={{{field
|News attachment type
+
|Resources type
 
|input type=radiobutton
 
|input type=radiobutton
 
|values=Picture,File,URL,Video,Wiki
 
|values=Picture,File,URL,Video,Wiki
Line 101: Line 95:
 
   |label=Link text / Caption
 
   |label=Link text / Caption
 
   |field={{{field
 
   |field={{{field
|Link text
+
|Resources text
 
|input type=text
 
|input type=text
 
|class=form-control mt-1
 
|class=form-control mt-1
 +
}}}
 +
}}
 +
{{form-row
 +
  |label=Author(s)
 +
  |field={{{field
 +
|Author
 +
|input type=tokens
 +
|values from property=Author
 +
|list
 +
|delimiter=;
 +
|class=form-control mt-1
 +
}}}
 +
}}
 +
{{form-row
 +
  |label=Date
 +
  |field={{{field
 +
|Has date
 +
|input type=datepicker
 +
}}}
 +
}}
 +
{{form-row
 +
  |label=Comment
 +
  |label-style=align-self:start !important
 +
  |class=mt-1
 +
  |field={{{field
 +
|Comment
 +
|input type=textarea
 +
|rows=3
 +
|class=form-control
 +
|editor=visualeditor
 
}}}
 
}}}
 
}}
 
}}

Latest revision as of 16:28, July 21, 2020