Skip to content

Commit

Permalink
Make the admin page use slim instead of erb
Browse files Browse the repository at this point in the history
  • Loading branch information
lef237 committed Mar 6, 2024
1 parent 4fe9f98 commit 7ae1b5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/views/admin/new.html.erb

This file was deleted.

9 changes: 9 additions & 0 deletions app/views/admin/new.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
h1 Become an Admin

= form_with url: '/admin', method: :post do |form|
.field
= form.label :admin_password
= form.password_field :admin_password

.actions
= form.submit "Submit"

0 comments on commit 7ae1b5a

Please sign in to comment.