<% const currentPronouns = getPronouns(user.id); %>
<form method="post" action="/plugins/welcome_messages/profile/pronouns" class="form-grid">
  <div class="field">
    <label>Pronouns for welcome messages</label>
    <select name="pronoun_set">
      <% pronounSets.forEach((item) => { %>
      <option value="<%= item.value %>" <%= item.value === currentPronouns.value ? "selected" : "" %>><%= item.label %></option>
      <% }) %>
    </select>
    <p class="hint">Unsafe or unknown values are normalized to they/them.</p>
  </div>
  <div class="field full">
    <button type="submit" class="button subtle">Save pronouns</button>
  </div>
</form>
