Sha256: d6f0eba0a983d8a8e9f5b07ddcd0f125f563ffc0f8e5b5197bad0e88c76f38b9

Contents?: true

Size: 1.98 KB

Versions: 3

Compression:

Stored size: 1.98 KB

Contents

    <div id="box">
      <% if @logout %>
		<% settings.client_sites.each do |site_url| %>		
	      <iframe src="<%= site_url %>/cas_logout" style="display:none">     
	      </iframe>
		<% end %>
      <% end %>
      <div class="block" id="block-login">
        <h2>Login</h2>
        <div class="content login">
          <div class="flash">
            <%# TODO: fix issues with rack flash%>
            <% if flash.has?(:error) %>
            <div class="message error">
              <p><%= flash[:error]%></p>
            </div>
            <% end %>
            <% if flash.has?(:notice) %>
            <div class="message notice">
              <p><%= flash[:notice]%></p>
            </div>
            <% end %>
          </div>
          <form action='/login' method='post' class ='form login'>
            <div class="group wat-cf">
              <div class="left">
                <label class="label right">Username</label>
              </div>
              <div class="right">
                <input id='username' name='username' type='text' class="text_field"/> 
              </div>
            </div>
            <div class="group wat-cf">
              <div class="left">
                <label class="label right">Password</label>
              </div>
              <div class="right">
                <input id='password' name='password' type='password' class="text_field"/> 
              </div>
              <input name='lt' type='hidden' value='<%= @login_ticket.ticket %>' /> 
              <input name='warn' type='hidden' /> 
              <% if @service_url %>
                <input name='service' type='hidden' value='<%= @service_url %>' />
              <% end %>
            </div>
            <div class="group navform wat-cf">
              <div class="right">
                <button class="button" type="submit">
                  <img src="images/key.png" alt="Save"> Login
                </button>
              </div>
            </div>
          </form>
      </div>
    </div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
classy_cas-0.9.3 lib/views/login.erb
classy_cas-0.9.2 lib/views/login.erb
classy_cas-0.9.1 lib/views/login.erb