Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display placeholders in git path selection form #1495

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions app/views/workflows/_select_paths.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<label class="required">Workflow</label>
<p class="help-block">The main executable workflow.</p>
<%= 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...' %>
</div>

<div class="form-group">
Expand All @@ -22,7 +23,8 @@
<label>Abstract CWL</label>
<p class="help-block">(Optional) The abstract CWL that describes the main workflow.</p>
<%= 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...' %>
</div>
<% end %>

Expand All @@ -31,7 +33,8 @@
<label>Diagram</label>
<p class="help-block">(Optional) A diagram that illustrates the main workflow.</p>
<%= 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...' %>
</div>
<% end %>

Expand All @@ -49,4 +52,4 @@
});
});
});
</script>
</script>
Loading