Skip to content

Commit

Permalink
Added missing type in personal DP form
Browse files Browse the repository at this point in the history
  • Loading branch information
prioux committed Mar 19, 2024
1 parent 367e161 commit 3442f2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions BrainPortal/app/views/data_providers/new_personal.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@

<%= form_for @provider, :as => :data_provider, :url => { :action => "create_personal" }, :datatype => "script" do |f| -%>

<%
# Note about the type: the form currently only supports the UserkeyFlatDirSshDataProvider
# but the controller also supports the S3MultiLevelDataProvider. Eventually we
# will allow both. If a user modifies the form in their browser they can still create
# their own S3 type, but that's ok.
%>
<%= hidden_field_tag 'data_provider[type]', 'UserkeyFlatDirSshDataProvider' %>

<div class="generalbox">

<div title="The name of the data provider.">
Expand Down

0 comments on commit 3442f2d

Please sign in to comment.