Skip to content

Commit

Permalink
minimal height form
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmaas committed Nov 4, 2019
1 parent a8a2f91 commit 9c3db75
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/views/shared/service/_deprecated_plugin_warning.html.slim
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
- if @service&.plugin_deployment?
= semantic_form_for @service, :url => admin_service_path(@service) do |form|
= form_for @service, :url => admin_service_path(@service) do |form|
.deprecated_plugin_message
p.InfoBox--notice.InfoBox
'Your product currently uses plugin as deployment option. We no longer support plugins. Please update your settings.
= form.input :deployment_option,
as: :hidden
= form.buttons do
= form.commit_button 'Ok'
i This Product currently uses a plugin as the deployment option. Your integration will keep on working but we no longer support plugins.
= form.hidden_field :deployment_option
= form.submit 'Ok', class: 'button next outline-button-thin outline-button-thin--positive'

0 comments on commit 9c3db75

Please sign in to comment.