Skip to content
Snippets Groups Projects
Commit cdc92e3b authored by Tyler Lemburg's avatar Tyler Lemburg
Browse files

bugfix

parent 01064590
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
</div>
<div>
<label for="minutes-per-reservation">Minutes Per Reservation</label><br>
<input type="radio" name="time_slot_type" id="time-slot-type-exact" value="exact" <%= 'checked="checked"' if resource.time_slot_type == 'exact' %>>
<input type="radio" name="time_slot_type" id="time-slot-type-exact" value="exact" <%= 'checked="checked"' if resource.time_slot_type == 'exact' || resource.time_slot_type.nil? %>>
<label for="time-slot-type-exact">Exactly:</label> <input type="number" name="minutes_per_reservation" id="minutes-per-reservation" value="<%= resource.minutes_per_reservation %>"><br><br>
<input type="radio" name="time_slot_type" id="time-slot-type-range" value="range" <%= 'checked="checked"' if resource.time_slot_type == 'range' %>>
<label for="time-slot-type-range">Range:</label>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment