diff options
author | Go MAEDA <maeda@farend.jp> | 2019-04-09 14:53:55 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-04-09 14:53:55 +0000 |
commit | 7cf16d4abd3efde6444366d2ae9cebdb21c13713 (patch) | |
tree | 85b13f9afdca8243e2d6f8dfde622c6f8d0a775f /app/views/custom_fields | |
parent | d953242e521592b84d4d2fe4378ceb127ec4eda3 (diff) | |
download | redmine-7cf16d4abd3efde6444366d2ae9cebdb21c13713.tar.gz redmine-7cf16d4abd3efde6444366d2ae9cebdb21c13713.zip |
"Create and continue" button for custom fields (#31159).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18054 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r-- | app/views/custom_fields/_form.html.erb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 140738505..cac457ce2 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -20,7 +20,14 @@ <%= call_hook(:view_custom_fields_form_upper_box, :custom_field => @custom_field, :form => f) %> </div> -<p><%= submit_tag l(:button_save) %></p> +<p> + <% if @custom_field.new_record? %> + <%= submit_tag l(:button_create) %> + <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> + <% else %> + <%= submit_tag l(:button_save) %> + <% end %> +</p> </div> <div class="splitcontentright"> |