Skip to content

Instantly share code, notes, and snippets.

@tiagogeraldi
Created August 8, 2018 23:12
Show Gist options
  • Save tiagogeraldi/9c66b31f8dea695f50805c4019e178c0 to your computer and use it in GitHub Desktop.
Save tiagogeraldi/9c66b31f8dea695f50805c4019e178c0 to your computer and use it in GitHub Desktop.
Part of Apartment with no subdomain
= form_for :tenant, url: tenant_sessions_path do |f|
.form-group
= f.label :name
= f.text_field :name, class: 'form-control'
.form-group
= f.submit 'Go', class: 'btn btn-primary'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment