title: Login with Devise via jQuery Mobile
body: <p>We have a working app using Devise for authentication (email, password).</p>
  
  <p>To add the mobile interface we're using jQuery mobile — everything works fine, except the login via Devise won't behave. </p>
  
  <p>After hitting “login” Rails processes the request correctly but all we get is a MissingTemplate (devise/sessions/create) error. </p>
  
  <hr>
  
  <p>Current settings:</p>
  
  <pre><code>config.http_authenticatable_on_hxr = false
  
  config.navigational_formats = [:"*/*", "*/*", :html, :mobile]
  </code></pre>
  
  <hr>
  
  <p>We're inspired by Railscast #199 (hence <code>:mobile</code>): <a href="http://railscasts.com/episodes/199-mobile-devices" rel="noreferrer">http://railscasts.com/episodes/199-mobile-devices</a></p>