diff --git a/app/views/admin/new.html.erb b/app/views/admin/new.html.erb deleted file mode 100644 index 051f653..0000000 --- a/app/views/admin/new.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -

Become an Admin

- -<%= form_with url: '/admin', method: :post do |form| %> -
- <%= form.label :admin_password %> - <%= form.password_field :admin_password %> -
- -
- <%= form.submit "Submit" %> -
-<% end %> diff --git a/app/views/admin/new.html.slim b/app/views/admin/new.html.slim new file mode 100644 index 0000000..688f874 --- /dev/null +++ b/app/views/admin/new.html.slim @@ -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"