diff --git a/app/views/settings/_api.html.erb b/app/views/settings/_api.html.erb index 6ee401037..ee862f687 100644 --- a/app/views/settings/_api.html.erb +++ b/app/views/settings/_api.html.erb @@ -4,6 +4,9 @@

<%= setting_check_box :rest_api_enabled %>

<%= setting_check_box :jsonp_enabled %>

+ +

<%= setting_text_field :api_limit, :size => 6 %>

+ <%= submit_tag l(:button_save) %> diff --git a/app/views/settings/_general.html.erb b/app/views/settings/_general.html.erb index 9a17a4e91..23abdb3f5 100644 --- a/app/views/settings/_general.html.erb +++ b/app/views/settings/_general.html.erb @@ -25,8 +25,6 @@

<%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %>

-

<%= setting_text_field :api_limit, :size => 6 %>

-

<%= setting_text_field :feeds_limit, :size => 6 %>

<%= call_hook(:view_settings_general_form) %>