From 60dedb8992decc7254de104511085b56a460fa32 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Mon, 16 Apr 2007 03:13:39 +0000 Subject: [PATCH] A recent checkin was missing this file. Whoops! git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@533 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/login/login_mobile.rhtml | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 tracks/app/views/login/login_mobile.rhtml 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 %> + +