Difference between revisions of "Form:Resources"

From Earth Science Information Partners (ESIP)
 
(4 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
Line 122: Line 116:
 
|Has date
 
|Has date
 
|input type=datepicker
 
|input type=datepicker
|class=form-control mt-1
 
 
}}}
 
}}}
 
}}
 
}}
Line 128: Line 121:
 
   |label=Comment
 
   |label=Comment
 
   |label-style=align-self:start !important
 
   |label-style=align-self:start !important
 +
  |class=mt-1
 
   |field={{{field
 
   |field={{{field
 
|Comment
 
|Comment

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