Permalink
Browse files

Adding yes/no keybindings

  • Loading branch information...
1 parent 3dcfee5 commit a6320d315dc1bb923517a19186feeb0c9c0e4b84 @nelhage committed Mar 25, 2007
Showing with 6 additions and 4 deletions.
  1. +6 −4 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"));
}
};

0 comments on commit a6320d3

Please sign in to comment.