Skip to content

Commit

Permalink
Merge pull request #135 from internetee/optional-domain-contacts-for-…
Browse files Browse the repository at this point in the history
…private-registrant

Change requirements for contact creation in the form
  • Loading branch information
vohmar authored Jan 23, 2025
2 parents e31b33a + 9c374fd commit 6689f30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ GEM
nio4r (2.5.9)
nokogiri (1.15.4-aarch64-linux)
racc (~> 1.4)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
racc (~> 1.4)
omniauth (2.1.1)
Expand Down Expand Up @@ -338,6 +340,7 @@ GEM

PLATFORMS
aarch64-linux
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand Down
2 changes: 1 addition & 1 deletion app/views/domains/partials/form/_contacts.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<% options = "<option value=''></option><option value=#{v['code']} selected>#{contact}</option>" %>
<%= dynamic_select_tag "domain[contacts_attributes][#{k}][code]", v['code'].present? ? raw(options) : [],
class: 'contact_dynamic_select',
required: true,
required: false,
'data-nested-form-target': 'contact' %>
</div>
</div>
Expand Down

0 comments on commit 6689f30

Please sign in to comment.