Skip to content

Commit

Permalink
mini twist
Browse files Browse the repository at this point in the history
  • Loading branch information
whomingbird committed Dec 17, 2024
1 parent 76170fe commit e59942b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/institutions/_institution_fields.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</div>
<div class="form-group">
<%= f.label :country -%>
<%= f.text_field :country, value: CountryCodes.country(institution.country), :class=>"form-control" -%>
<%= f.text_field :country, value: institution.nil? ? nil:CountryCodes.country(institution.country), :class=>"form-control" -%>
</div>

<div class="form-group">
Expand Down

0 comments on commit e59942b

Please sign in to comment.