diff options
Diffstat (limited to 'app/views/settings/_api.html.erb')
-rw-r--r-- | app/views/settings/_api.html.erb | 10 |
1 files changed, 10 insertions, 0 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 %> |