Some more accesskeys [kjell]

This commit is contained in:
Alexey Verkhovsky 2005-01-30 05:12:01 +00:00
parent 85bc93984d
commit d80d60243b
3 changed files with 4 additions and 4 deletions

View file

@ -13,10 +13,10 @@
<textarea name="content" style="width: 450px; height: 500px"><%= @page.content %></textarea>
</p>
<p>
<input type="submit" value="Update" /> as
<input type="submit" value="Submit" accesskey="s"/> as
<input type="text" name="author" id="authorName" value="<%= @author %>"
onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
| <a href="../cancel_edit/<%= @page.name %>">Cancel</a> <small>(unlocks page)</small>
| <a href="../cancel_edit/<%= @page.name %>" accesskey="c">Cancel</a> <small>(unlocks page)</small>
</p>
</form>

View file

@ -11,7 +11,7 @@
<textarea name="content" style="width: 450px; height: 500px"></textarea>
</p>
<p>
<input type="submit" value="Create" /> as
<input type="submit" value="Submit" accesskey="s"/> as
<input type="text" name="author" id="authorName" value="<%= @author %>" onClick="this.value == 'AnonymousCoward' ? this.value = '' : true" />
</p>
</form>

View file

@ -48,7 +48,7 @@
<% end %>
<small>
| Views: <a href="../print/<%= @page.name %>">Print</a>
| Views: <a href="../print/<%= @page.name %>" accesskey="p">Print</a>
<% if defined? RedClothForTex and RedClothForTex.available? and @web.markup == :textile %>
| <a href="../tex/<%= @page.name %>">TeX</a> | <a href="../pdf/<%= @page.name %>">PDF</a>
<% end %>