Skip to content

Commit

Permalink
remove unnecesery code from the provider type fluctuation bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy committed Jul 9, 2024
1 parent 9385d59 commit 44e71c8
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, selected_key=@provider.type), { :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 44e71c8

Please sign in to comment.