Hi i have this command on my View (_form.html.erb), when im editing the client shows the hours thats fine, but on the minutes shows the 60 minutes of the hour i need to only to show the 0 minute and 30 minute of the hour.
<div class="field">
<%= f.label "Hora inicio" %><br />
<%= f.time_select :hora_inicio, {:ampm => true}%>
</div>
You can pass
:minute_stepas an option totime_select().This will give you 0 and 30 minutes.