Sha256: 65a00cd288f323546b492e3b3640ac27f778c0f641354654b91096c692ba2f2c

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

<div style="padding-top:40px;padding-bottom:40px;">
  <div class="row">
    <div class="span4 offset4 well">
      <legend><%= tr("Login to Tr8n") %></legend>
      <%= form_tag(:controller=>:login, :action=>:index) do %>
        <%=hidden_field_tag(:mode, params[:mode]) %>
        <%=hidden_field_tag(:origin, params[:origin]) %>
        <%=hidden_field_tag(:app_key, params[:app_key]) %>

        <% if lightbox? %>
          <%=render :partial => "/layouts/flashes" %>
        <% end %>

        <%=text_field_tag :email, params[:email], :class => "span4", :placeholder => trl("Email") %>
        <%=password_field_tag :password, "", :class => "span4", :placeholder => trl("Password")  %>

        <button type="submit" name="submit" class="btn btn-block"><%= tr("Login") %></button>

        <br>

        <div style="float:right">
        </div>
        <div style="float:left">
          <%=tr("New user? [link: Register here].", "", :link => lambda{|text| link_to(text, :controller => :signup, :action => :index, :mode => params[:mode], :origin => params[:origin])})%>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tr8n_client_sdk-1.1.1 test/dummy/app/views/login/_common.html.erb
tr8n_client_sdk-1.1.0 test/dummy/app/views/login/_common.html.erb
tr8n_client_sdk-1.0.0 test/dummy/app/views/login/_common.html.erb