[accessibility] jump to error message field "duration"

pull/6827/head
Romano Licker 13 years ago
parent 624768af70
commit 2463398422
  1. 2
      app/views/meetings/_form.html.erb

@ -4,7 +4,7 @@
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_field :location, :size => 60 %></p>
<p><%= f.text_field :start_date, :required => true, :size => 10 %><%= calendar_for('meeting_start_date') %> <%= time_select "meeting", "start_time", :ignore_date => true, :minute_step => 5 %></p>
<p><label for="meeting_duration"><%=l :field_duration %><span class="required"> *</span></label><%= text_field_tag "meeting[duration]", @meeting.duration, :size => 5 %> <em>(<%=l :text_in_hours %>)</em></p>
<p><%= f.text_field :duration, :required => true, :size => 5 %><em>(<%=l :text_in_hours %>)</em>
<div><label><%=l :field_participants %></label>
<table class="list">
<thead><tr>

Loading…
Cancel
Save