Skip to content

Commit 2db6a1a

Browse files
authored
Remove hidden class from workflow submit button (#4956)
* Remove hidden class from submit button * Remove margin-bottom from select launcher input
1 parent 07078ab commit 2db6a1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dashboard/app/views/workflows/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<div id="workflows_app">
99
<div class="toolbar" aria-label="toolbar">
1010
<% hidden_class = @workflow.editable? ? '' : 'd-none' %>
11-
<%= select_tag "select_launcher", options_from_collection_for_select(@launchers, :id, :title), include_blank: false, class: "form-control mb-2 w-25 #{hidden_class}" %>
11+
<%= select_tag "select_launcher", options_from_collection_for_select(@launchers, :id, :title), include_blank: false, class: "form-control w-25 #{hidden_class}" %>
1212
<button id="btn-add" class="<%= hidden_class %>">Add Launcher</button>
1313
<button id="btn-connect" class="<%= hidden_class %>" aria-pressed="false">Connect Launchers</button>
1414
<button id="btn-delete-launcher" class="danger <%= hidden_class %>" title="Delete selected launcher (Del/Backspace)">Delete Launcher</button>
1515
<button id="btn-delete-edge" class="danger <%= hidden_class %>" title="Delete selected edge (Del/Backspace)">Delete Edge</button>
1616
<div class="workflow-actions">
17-
<button id="btn-submit-workflow" class="<%= hidden_class %>"><%= I18n.t('dashboard.submit') %></button>
17+
<button id="btn-submit-workflow"><%= I18n.t('dashboard.submit') %></button>
1818
<button id="btn-restore-workflow" class="<%= hidden_class %>"><%= I18n.t('dashboard.restore') %></button>
1919
<button id="btn-clear-workflow" class="<%= hidden_class %>"><%= I18n.t('dashboard.clear') %></button>
2020
<button id="btn-save-workflow" class="<%= hidden_class %>"><%= I18n.t('dashboard.save') %></button>

0 commit comments

Comments
 (0)