Sha256: d32adc38b7c6081c34cb9911f512211c5d092467d5c70731cee00ef63a5ded36

Contents?: true

Size: 1.27 KB

Versions: 9

Compression:

Stored size: 1.27 KB

Contents

<%- @title = p_("MultiAuth", "Login") -%>
<%- @enable_side_column = false -%>

<div id="dialog">
  <h1><%=h p_("MultiAuth", "By OpenID") %></h1>

  <%- form_tag(:controller => 'auth/open_id', :action => "login") do -%>
    <table>
      <tr>
        <th><%= label_tag(:openid_url, "OpenID") %></th>
        <td>
          <%= text_field_tag(:openid_url, "", :size => 30) %>
        </td>
      </tr>
    </table>
    <div><%= submit_tag(p_("MultiAuth", "Login")) %></div>
  <%- end -%>

  <hr />
  
  <h1><%=h p_("MultiAuth", "By email address") %></h1>
  <%- form_for(:login_form, @login_form, :url => { :controller => 'auth/email', :action => "login"}) do |f| -%>
    <table id="email-login">
      <tr>
        <th><%= f.label(:email) %></th>
        <td>
          <%= f.text_field(:email, :size => 30) %>
          <%= error_message_on(:login_form, :email) %>
        </td>
      </tr>
      <tr>
        <th><%= f.label(:password) %></th>
        <td>
          <%= f.password_field(:password, :size => 30) %>
          <%= error_message_on(:login_form, :password) %>
        </td>
      </tr>
    </table>
    <%= submit_tag(p_("MultiAuth", "Login")) %>
  <%- end -%>

</div>

<%- unless production? -%>
  <div class="debug">
    <%= error_messages_for(:login_form) %>
  </div>
<%- end -%>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
multi_auth-0.2.0 app/views/auth/index.html.erb
okkez-multi_auth-0.1.0 app/views/auth/index.html.erb
multi_auth-0.1.0 app/views/auth/index.html.erb
okkez-multi_auth-0.0.7 app/views/auth/index.html.erb
multi_auth-0.0.7 app/views/auth/index.html.erb
okkez-multi_auth-0.0.6 app/views/auth/index.html.erb
multi_auth-0.0.6 app/views/auth/index.html.erb
okkez-multi_auth-0.0.5 app/views/auth/index.html.erb
multi_auth-0.0.5 app/views/auth/index.html.erb