mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
fixes edit experiment
This commit is contained in:
parent
ed1cd193ac
commit
131d0d269a
2 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ class ExperimentsController < ApplicationController
|
|||
flash[:success] = t('experiments.update.success_flash',
|
||||
experiment: @experiment.name)
|
||||
|
||||
redirect_to project_path(@experiment.project)
|
||||
redirect_to :back
|
||||
else
|
||||
flash[:alert] = t('experiments.update.error_flash')
|
||||
redirect_to :back
|
||||
|
|
|
@ -602,8 +602,8 @@ en:
|
|||
name_placeholder: 'My experiment'
|
||||
description: 'Description'
|
||||
edit:
|
||||
modal_title: 'Edit experiment %{experiment}'
|
||||
modal_create: 'Update experiment'
|
||||
modal_title: 'Edit experiment details'
|
||||
modal_create: 'Save'
|
||||
label_title: "Edit details"
|
||||
panel_label: 'Change details'
|
||||
create:
|
||||
|
|
Loading…
Reference in a new issue