# How to create headings in OOD form.yml.erb

**URL:** <https://discourse.openondemand.org/t/how-to-create-headings-in-ood-form-yml-erb/2912>\
**Category:** Get Help\
**Tags:** feature-request, question\
**Created:** [August 21, 2023, 6:50pm UTC](https://discourse.openondemand.org/t/how-to-create-headings-in-ood-form-yml-erb/2912 "2023-08-21T18:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhan4429](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/zhan4429/32/1720_2.png) [@zhan4429](https://discourse.openondemand.org/u/zhan4429)\
**Post date:** [August 21, 2023, 6:50pm UTC](https://discourse.openondemand.org/t/how-to-create-headings-in-ood-form-yml-erb/2912/1 "2023-08-21T18:50:03Z")

</div>

I want to create an OOD app for a bioinformatics workflow. The workflow has many parameters, and these parameters are used in different purposes. I am wondering whether there is a way to create different headings to separate parameters into categories on the OOD form.yml.erb. And I would like these headings with bigger font and in bold.

For example, I like the form to be like this:

**Input options**  
.  
.  
.  
**Alignment options**  
.  
.  
.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 24, 2023, 1:21pm UTC](https://discourse.openondemand.org/t/how-to-create-headings-in-ood-form-yml-erb/2912/2 "2023-10-24T13:21:43Z")

</div>

I don’t quite follow what you’re looking for.

Are you looking for what’s described in this?

> <https://github.com/OSC/ondemand/issues/2762>
>
> Perhaps already possible but I see no obvious way to specify this in the yml fil…es, but i would like to have something that could generate an optgroup, or alternatively, letting my disable a field.
> 
> \`\`\`html
> \<select\>
> \<optgroup\>
> \<option\>/apps/ood/jupyter/PyTorch-1.10.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.11.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.12.sh\</option\>
> \</optgroup\>
> \<optgroup label="User specified runtime, create ~/ood/jupyter/\*.sh "\>
> \<option\>~/ood/jupyter/my\_custom\_env.sh\</option\>
> \<option\>~/ood/jupyter/my\_second\_env.sh\</option\>
> \</optgroup\>
> \</select\>
> \`\`\`
> 
> Right now, we add hack this in via an extra option, which generates a drop down kind of like
> \`\`\`html
> \<select\>
> \<option\>/apps/ood/jupyter/PyTorch-1.10.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.11.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.12.sh\</option\>
> \<option\>User specified runtime, create ~/ood/jupyter/\*.sh\</option\>
> \<option\>~/ood/jupyter/my\_custom\_env.sh\</option\>
> \<option\>~/ood/jupyter/my\_second\_env.sh\</option\>
> \</select\>
> \`\`\`
> which is OK, but of course unfortunately lets people select this non existent separator "User specified runtime ..." which just kind of breaks things for us.
> Just having the option to specify
> \`\`\`html
> \<select\>
> \<option\>/apps/ood/jupyter/PyTorch-1.10.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.11.sh\</option\>
> \<option\>/apps/ood/jupyter/PyTorch-1.12.sh\</option\>
> \<option disabled\>User specified runtime, create ~/ood/jupyter/\*.sh\</option\>
> \<option\>~/ood/jupyter/my\_custom\_env.sh\</option\>
> \<option\>~/ood/jupyter/my\_second\_env.sh\</option\>
> \</select\>
> \`\`\`
> would at least remedy this, though not as nice as having the groups
> 
> ┆Issue is synchronized with this \[Asana task\](https://app.asana.com/0/1201735133575781/1204414633733997) by \[Unito\](https://www.unito.io)

Or it seems like you just need 2 different form select options - 1 for input and 1 for alignment.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [April 21, 2024, 1:22pm UTC](https://discourse.openondemand.org/t/how-to-create-headings-in-ood-form-yml-erb/2912/3 "2024-04-21T13:22:10Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
