Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding yes/no keybindings

  • Loading branch information...
commit a6320d315dc1bb923517a19186feeb0c9c0e4b84 1 parent 3dcfee5
@nelhage authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/AuthMitEdu/View.pm
View
10 lib/AuthMitEdu/View.pm
@@ -48,11 +48,13 @@ template setup => page {
}
outs_raw($action->button(
- label => "Yes",
- arguments => { action => 'yes' }));
+ label => "Yes",
+ arguments => { action => 'yes' },
+ key_binding => "Y"));
outs_raw($action->button(
- label => "No",
- arguments => { action => 'no' }));
+ label => "No",
+ arguments => { action => 'no' },
+ key_binding => "N"));
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.