From e0b0f2f92ae1dd49d846424c7913654e29ffbaff Mon Sep 17 00:00:00 2001 From: Finn Date: Tue, 27 Jun 2023 09:45:34 +0100 Subject: [PATCH] Display placeholders in git path selection form --- app/views/workflows/_select_paths.html.erb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/views/workflows/_select_paths.html.erb b/app/views/workflows/_select_paths.html.erb index d163dc496b..56cf1518cc 100644 --- a/app/views/workflows/_select_paths.html.erb +++ b/app/views/workflows/_select_paths.html.erb @@ -6,7 +6,8 @@

The main executable workflow.

<%= git_path_input '#git-path-select-modal', "#{field_prefix}[main_workflow_path]", - git_version.main_workflow_path, id: 'main-workflow-path-field', class: 'form-control git-path' %> + git_version.main_workflow_path, id: 'main-workflow-path-field', class: 'form-control git-path', + placeholder: 'Select main workflow...' %>
@@ -22,7 +23,8 @@

(Optional) The abstract CWL that describes the main workflow.

<%= git_path_input '#git-path-select-modal', "#{field_prefix}[abstract_cwl_path]", - git_version.abstract_cwl_path, class: 'form-control git-path' %> + git_version.abstract_cwl_path, class: 'form-control git-path', + placeholder: 'Select abstract CWL...' %>
<% end %> @@ -31,7 +33,8 @@

(Optional) A diagram that illustrates the main workflow.

<%= git_path_input '#git-path-select-modal', "#{field_prefix}[diagram_path]", - git_version.diagram_path, class: 'form-control git-path' %> + git_version.diagram_path, class: 'form-control git-path', + placeholder: 'Select diagram...' %> <% end %> @@ -49,4 +52,4 @@ }); }); }); - \ No newline at end of file +