<div class="field date-select">
|
|
<%= f.label attr %>
|
|
<div>
|
|
<%= f.time_select attr, include_seconds: false, minute_step: 15, time_separator: ' ' %>
|
|
</div>
|
|
<%- f.object.errors.full_messages_for(attr).uniq.each do |msg| -%>
|
|
<%= content_tag :p, msg, role: 'alert' %>
|
|
<% end %>
|
|
</div>
|