Sha256: daa13b29e260d599f8641d23cbade35af7cb463a42b53aa8e6783307787ee7b0

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

<div id="box">
  <h1><%= options.app_name || "App Themer" %></h1>
  <section>
    <h2>Login Box</h2>
    <div class="content login">
      <div class="flash">
        <%% flash.each do |type, message| -%>
          <div class="message <%%= type %>">
            <p><%%= message %></p>
          </div>
        <%% end -%>
      </div>
      <%%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form login'}) do |f| %>
        <div class="group clearfix">
          <div class="left">
            <%%= f.label :email, :class => 'label right' %>
          </div>
          <div class="right">
            <%%= f.text_field :email, :class => 'text_field' %>
          </div>
        </div>
        <div class="group clearfix">
          <div class="left">
            <%%= f.label :password, :class => 'label right' %>
          </div>
          <div class="right">
            <%%= f.password_field :password, :class => 'text_field' %>
          </div>
        </div>
        <div class="clearfix">
          <div class="right">
            <button class="button right" type="submit">
              <%%= image_tag("app-themer/icons/key.png", :alt => "Login") %> Login
            </button>
            <%% if devise_mapping.rememberable? -%>
              <span class="remember"><%%= f.check_box :remember_me %> <%%= f.label :remember_me %></span>
            <%% end -%>
          </div>
        </div>
      <%% end %>
    </section>
  </div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
app-themer-0.4.6 lib/generators/app_themer/views/templates/login.html.erb