diff --git a/tracks/app/views/login/login_mobile.rhtml b/tracks/app/views/login/login_mobile.rhtml new file mode 100644 index 00000000..d88b3316 --- /dev/null +++ b/tracks/app/views/login/login_mobile.rhtml @@ -0,0 +1,61 @@ +<% auth_schemes = Tracks::Config.auth_schemes + show_database_form = auth_schemes.include?('database') + show_openid_form = auth_schemes.include?('open_id') +-%> + +
+ + <%= render_flash %> + +

Please log in to use Tracks:

+ +<% if show_database_form %> +
+ <% form_tag formatted_login_path(:format => 'm') do %> + + + + + + + + + + + + + + + + + +
+ <% end %> +
+<% end %> + +<% if show_openid_form %> + +

...or login with an Open ID:

+ +
+ <% form_tag formatted_open_id_begin_path(:format => 'm') do %> + + + + + + + + + + + + + +
+ <% end %> +
+ <% end %> + +