Sha256: ef29b3b3db942c12dcfb2bcad1d304d1cebaf6c9e6600df53bf3f81182b84577

Contents?: true

Size: 728 Bytes

Versions: 21

Compression:

Stored size: 728 Bytes

Contents

<%
# Purposefully call the host app's stylesheet
%>
<%= content_for :caboose_css do %>
<%= stylesheet_link_tag "login", :media => "all" %>
<% end %>

<%
# But call caboose's javascript
%>
<%= content_for :caboose_js do %>
<%= javascript_include_tag "caboose/login" %>
<% end %>

<h1>Login</h1>

<form action='/login' method='post' id='login_form'>
<input type='hidden' name='return_url' value='<%= @return_url %>' />
<dl>
  <dt>Username:</dt><dd><input type='text'      name='username' style='width: 200px;' /></dd>
  <dt>Password:</dt><dd><input type='password'  name='password' style='width: 200px;' /></dd>
<div id='message'></div>
<p><input type='submit' value='Login' onclick='login(); return false;' /></p>
</dl>
</form>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
caboose-cms-0.0.2 app/views/caboose/login/index.html.erb