From 7e6ae79ae57746572927127951cc98413188b651 Mon Sep 17 00:00:00 2001 From: Arpit Goyal Date: Mon, 23 Jun 2014 11:49:07 +0530 Subject: [PATCH] remote checkbox added Signed-off-by: Arpit Goyal --- app/views/webapps/_login_required.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/webapps/_login_required.html.slim b/app/views/webapps/_login_required.html.slim index 7891c36..fba4077 100644 --- a/app/views/webapps/_login_required.html.slim +++ b/app/views/webapps/_login_required.html.slim @@ -1,6 +1,6 @@ - id = "login_required_#{webapp.id}" span id=id - = tag "input", class: "webapp-login", type: "checkbox", checked: webapp.login_required, + = tag "input", class: "webapp-login remote-check", type: "checkbox", checked: webapp.login_required, data: { remote: true, url: webapps_engine.toggle_login_required_webapp_path(id: webapp.id), confirm: "Are you sure you want to require login?" }, :method=>"put" = spinner