Skip to content

Commit

Permalink
CBRAIN should not change data provider type arbitrary (in presence of…
Browse files Browse the repository at this point in the history
… missed or incorrect fields) (#1407)
  • Loading branch information
MontrealSergiy authored Mar 6, 2025
1 parent 95486f9 commit 049e9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrainPortal/app/views/data_providers/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<span title="Type of data provider.">

<p><%= f.label :type, "Type" %><br/>
<%= f.select :type, grouped_options_for_select(@typelist), { :prompt => "Select Provider Type" }, { :disabled => (params[:action].to_sym == :edit) } %><br/>
<%= f.select :type, grouped_options_for_select(@typelist, @provider.type), { :prompt => "Select Provider Type" }, { :disabled => (params[:action].to_sym == :edit) } %><br/>
<div class="field_explanation"><%= show_hide_toggle "(Data Provider Type Information)", "#data_provider_classes", :class => 'action_link' %></div>
</p>

Expand Down

0 comments on commit 049e9cd

Please sign in to comment.