Interface: teclas de atalho
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
%p
|
||||
- form_tag course_news_instance_url(@course, @news), :method => :put do
|
||||
= render :partial => 'form'
|
||||
= submit_tag 'Editar'
|
||||
= submit_tag 'Editar', :accesskey => 'e'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
= javascript_include_tag 'news'
|
||||
|
||||
.cmd
|
||||
= action_icon 'add', 'Adicionar', new_course_news_instance_url
|
||||
= action_icon 'add', 'Adicionar', new_course_news_instance_url, :accesskey => '+'
|
||||
|
||||
%h4.title= h(@course.full_name)
|
||||
%h1.title Notícias
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
- form_tag course_news_url, :method => :post do
|
||||
= render :partial => 'form'
|
||||
= submit_tag "Enviar"
|
||||
= submit_tag "Adicionar", :accesskey => 'e'
|
||||
|
||||
Reference in New Issue
Block a user