|
|
@ -32,15 +32,25 @@ See doc/COPYRIGHT.md for more details. |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form--field"> |
|
|
|
<div class="form--field"> |
|
|
|
<label class="form--label"><%= Meeting.human_attribute_name(:start_date) %></label> |
|
|
|
<label for="meeting-form-start-date" class="form--label -required"> |
|
|
|
|
|
|
|
<span aria-hidden="true"><%= Meeting.human_attribute_name(:start_date) %></span> |
|
|
|
|
|
|
|
<span class="hidden-for-sighted"><%= l(:label_start_date)%></span> |
|
|
|
|
|
|
|
</label> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form--field-container"> |
|
|
|
<div class="form--field-container"> |
|
|
|
<%= f.text_field :start_date, |
|
|
|
<%= f.text_field :start_date, |
|
|
|
|
|
|
|
id: 'meeting-form-start-date', |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
size: 10, |
|
|
|
size: 10, |
|
|
|
no_label: true %> |
|
|
|
no_label: true %> |
|
|
|
<%= calendar_for('meeting_start_date') %> |
|
|
|
<%= calendar_for('meeting-form-start-date') %> |
|
|
|
|
|
|
|
<label for="meeting-form-start-time" class="hidden-for-sighted"> |
|
|
|
|
|
|
|
<%= Meeting.human_attribute_name(:start_time_hour) %> |
|
|
|
|
|
|
|
<%= l(:label_time_zone) %> |
|
|
|
|
|
|
|
<%= Time.zone.to_s %> |
|
|
|
|
|
|
|
</label> |
|
|
|
<%= f.text_field :start_time_hour, |
|
|
|
<%= f.text_field :start_time_hour, |
|
|
|
|
|
|
|
id: 'meeting-form-start-time', |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
type: 'time', |
|
|
|
type: 'time', |
|
|
|
no_label: true, |
|
|
|
no_label: true, |
|
|
@ -50,10 +60,14 @@ See doc/COPYRIGHT.md for more details. |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form--field"> |
|
|
|
<div class="form--field"> |
|
|
|
<label class="form--label"><%= Meeting.human_attribute_name(:duration) %></label> |
|
|
|
<label for="meeting-form-duration" class="form--label -required"> |
|
|
|
|
|
|
|
<%= Meeting.human_attribute_name(:duration) %> |
|
|
|
|
|
|
|
<span class="hidden-for-sighted"><%= l(:text_in_hours)%></span> |
|
|
|
|
|
|
|
</label> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form--field-container"> |
|
|
|
<div class="form--field-container"> |
|
|
|
<%= f.number_field :duration, |
|
|
|
<%= f.number_field :duration, |
|
|
|
|
|
|
|
id: 'meeting-form-duration', |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
size: 5, |
|
|
|
size: 5, |
|
|
|
no_label: true, |
|
|
|
no_label: true, |
|
|
|