summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_api.html.erb10
-rw-r--r--app/views/settings/_authentication.html.erb4
2 files changed, 10 insertions, 4 deletions
diff --git a/app/views/settings/_api.html.erb b/app/views/settings/_api.html.erb
new file mode 100644
index 000000000..6ee401037
--- /dev/null
+++ b/app/views/settings/_api.html.erb
@@ -0,0 +1,10 @@
+<%= form_tag({:action => 'edit', :tab => 'api'}) do %>
+
+<div class="box tabular settings">
+<p><%= setting_check_box :rest_api_enabled %></p>
+
+<p><%= setting_check_box :jsonp_enabled %></p>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>
diff --git a/app/views/settings/_authentication.html.erb b/app/views/settings/_authentication.html.erb
index 80fb4bd5a..3c5b1c1fe 100644
--- a/app/views/settings/_authentication.html.erb
+++ b/app/views/settings/_authentication.html.erb
@@ -23,10 +23,6 @@
<p><%= setting_text_field :max_additional_emails, :size => 6 %></p>
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
-
-<p><%= setting_check_box :rest_api_enabled %></p>
-
-<p><%= setting_check_box :jsonp_enabled %></p>
</div>
<fieldset class="box">