Skip to content

Commit

Permalink
added condtional statement to handle create and validate button bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DeonFranklin committed Jun 28, 2023
1 parent ae05be9 commit cbacc7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/bulkrax/importers/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<%= render 'form', importer: @importer, form: form %>
<div class="panel-footer">
<div class='pull-right'>
<%= form.button :submit, value: 'Create and Validate', class: 'btn btn-primary' %>
<% if ENV['SHOW_CREATE_AND_VALIDATE'] == 'true' %>
<%= form.button :submit, value: 'Create and Validate', class: 'btn btn-primary' %>
<% end %>
|
<%= form.button :submit, value: 'Create and Import', class: 'btn btn-primary' %>
|
Expand Down

0 comments on commit cbacc7e

Please sign in to comment.