Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Bartels committed Dec 21, 2023
1 parent 9550a34 commit c638e4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/limitations/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.col-md-12

= f.input :name
= f.input :start_date, as: :datetime, html5: true, input_html: { value: DateTime.now.utc.beginning_of_day + 1.day }
= f.input :end_date, as: :datetime, html5: true, input_html: { value: DateTime.now.utc.beginning_of_day + 2.days }
= f.input :start_date, as: :datetime, html5: true
= f.input :end_date, as: :datetime, html5: true

= f.button :submit, class: 'btn btn-success'
2 changes: 1 addition & 1 deletion app/views/reservations/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.row
.col-md-12

= f.input :start_date, as: :datetime, html5: true, input_html: { value: DateTime.now.utc.beginning_of_day + 1.day }
= f.input :start_date, as: :datetime, html5: true
= f.input :desk_id, collection: Desk.order("name ASC").all, label_method: :name, value_method: :id
- if @current_role == "admin"
= f.input :user_id, collection: User.order("email ASC").all, label_method: :email, value_method: :id
Expand Down

0 comments on commit c638e4c

Please sign in to comment.