Sha256: 88191d6d20aae17cefebe4b9fc7cfc9435d3b6bf540fd1d93f85548ccd027ccb

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

<div id="login_box">
	<div id="alchemy_greeting">
		<%= image_tag("alchemy/alchemy-logo.png", :style => "width: 240px; height: 70px") %>
		<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;
		});
		Alchemy.ButtonObserver('#login .button');
	});
</script>
<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-2.1 app/views/alchemy/user_sessions/login.html.erb