Sha256: 3b6b847f1f51f8eb01a966f00e2aef028125ec2079c3c75e0fa21461f396181e

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

<div id="login_box">
	<div id="alchemy_greeting">
		<%= image_tag("alchemy/alchemy-logo.png") %>
		<h1><%= flash[:info] %></h1>
	</div>
	<div class="login_signup_box">
		<%= form_for @user_session, :url => {:action => 'login'}, :html => { :id => "login" } do |f| %>
			<%= f.error_messages %>
			<table>
				<tr>
					<td class="label">
						<%= f.label :login %>
					</td>
					<td class="input">
						<%= f.text_field :login, :class => 'thin_border' %>
					</td>
				</tr>
				<tr>
					<td class="label">
						<%= f.label :password %>
					</td>
					<td class="input">
						<%= f.password_field :password, :class => 'thin_border' %>
					</td>
				</tr>
				<tr>
					<td colspan="2" class="submit">
						<%= hidden_field_tag 'user_screensize' %>
						<%= f.button t('login'), :class => 'button', :name => nil %>
					</td>
				</tr>
			</table>
		<% end %>
	</div>
</div>

<%- content_for :javascripts do -%>
<script type="text/javascript" charset="utf-8">
	jQuery(function($) {
		$('#alchemy_user_session_login').focus();
		$('#user_screensize').val(function() {
			return screen.width+'x'+screen.height;
		});
	});
</script>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_cms-2.1.rc6 app/views/alchemy/user_sessions/login.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/user_sessions/login.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/user_sessions/login.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/user_sessions/login.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/user_sessions/login.html.erb