Skip to content

Commit

Permalink
make fields name and abbreviation required again in html input
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfranck committed May 30, 2024
1 parent 7b5d3f7 commit f1d2b56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/branded/orgs/_profile_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<div class="row">
<div class="form-control mb-3 col-sm-8">
<%= f.label :name, _('Organisation full name'), class: "form-label" %>
<%= f.text_field :name, id: "org_name", class: "form-control", "aria-required": true %>
<%= f.text_field :name, id: "org_name", class: "form-control", "aria-required": true, required: true %>
</div>
</div>
<div class="row">
<div class="form-control mb-3 col-sm-8">
<%= f.label :abbreviation, _('Organisation abbreviated name'), class: "form-label" %>
<%= f.text_field :abbreviation, id: "org_abbreviation", class: "form-control" %>
<%= f.text_field :abbreviation, id: "org_abbreviation", class: "form-control", "aria-required": true, required: true %>
</div>
</div>

Expand Down Expand Up @@ -185,7 +185,7 @@
<% ids = org.identifiers.select { |i| i.identifier_scheme_id == id_scheme.id } %>
<% ids.each do |id| %>
<div class="row">
<div class="form-group col-xs-10">
<div class="form-control mb-3 col-sm-8">
<span class="bold"><%= id_scheme.description %>:</span>
<%= id.value %>
</div>
Expand Down

0 comments on commit f1d2b56

Please sign in to comment.