Skip to content

Commit a51ff94

Browse files
authored
move the code to the right place (#1182)
1 parent 4e3edcf commit a51ff94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/views/users/_edit_sofia_account_modal.html.erb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
<%= f.input :name, label: 'Naam', placeholder: 'Naam', required: true %>
2222
<% end %>
2323
<%= f.input :email, label: 'E-mailadres', placeholder: 'E-mailadres', required: true %>
24-
<% if Rails.application.config.x.subprovider_label.present? %>
25-
<%= f.input :sub_provider, label: 'SubProvider', placeholder: Rails.application.config.x.subprovider_label, required: true, input_html: { style: 'text-transform: uppercase;', onkeyup: 'this.value = this.value.toUpperCase();' } %>
26-
<% end %>
2724
<% if current_user.treasurer? %>
2825
<div class="row">
2926
<div class="col-lg-3">

app/views/users/_new_sofia_account_user_modal.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<div class="modal-body" id="activities_modal">
1414
<%= f.input :name, label: 'Naam', placeholder: 'Naam', required: true %>
1515
<%= f.input :email, label: 'E-mailadres', placeholder: 'E-mailadres', required: true %>
16+
<% if Rails.application.config.x.subprovider_label.present? %>
17+
<%= f.input :sub_provider, label: 'Subprovider', placeholder: Rails.application.config.x.subprovider_label, required: true, input_html: { style: 'text-transform: uppercase;', onkeyup: 'this.value = this.value.toUpperCase();' } %>
18+
<% end %>
1619
</div>
1720

1821
<div class="modal-footer">

0 commit comments

Comments
 (0)