mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-25 01:04:02 +08:00
Move modal copy and design fix [SCI-6248] (#3663)
This commit is contained in:
parent
4ce0c53d36
commit
945fd31538
1 changed files with 2 additions and 2 deletions
|
@ -15,10 +15,10 @@
|
||||||
<h4 class="modal-title" id="move-experiment-modal-label"><%= t("experiments.move.modal_title", experiment: @experiment.name ) %></h5>
|
<h4 class="modal-title" id="move-experiment-modal-label"><%= t("experiments.move.modal_title", experiment: @experiment.name ) %></h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<%= t("experiments.move.notice") %>
|
<p><small><%= t("experiments.move.notice") %></small></p>
|
||||||
<% if @projects.any? && can_manage_all_experiment_my_modules?(@experiment) %>
|
<% if @projects.any? && can_manage_all_experiment_my_modules?(@experiment) %>
|
||||||
<%= f.select :project_id, options_for_select(@projects.collect { |p| [ p.name, p.id ] }),
|
<%= f.select :project_id, options_for_select(@projects.collect { |p| [ p.name, p.id ] }),
|
||||||
{}, { class: "form-control selectpicker", "data-role" => "clear" } %>
|
{ label: t("experiments.move.target_project") }, { class: "form-control selectpicker", "data-role" => "clear" } %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="warning-message">
|
<div class="warning-message">
|
||||||
<i class="fas fa-exclamation-triangle"></i>
|
<i class="fas fa-exclamation-triangle"></i>
|
||||||
|
|
Loading…
Reference in a new issue