Sha256: f7279ddd565bd56b7f7aaea4dfe2dfb18fdf2db156606d33a50bb4e29dea2709
Contents?: true
Size: 1.81 KB
Versions: 6
Compression:
Stored size: 1.81 KB
Contents
<%- @title = "ログイン" -%> <%- @enable_side_column = false -%> <%- additional_head { -%> <style type="text/css"> #dialog { margin: 100px auto; padding: 15px; width: 400px; border-width: 1px; border-style: solid; border-color: #CCCCCC; } #dialog h1 { margin: 0 0 0.4em 0; color: #666666; font-size: 130%; font-weight: bold; } table#email-login { margin: 0 auto; border-collapse: collapse; border-width: 0px; } table#email-login th, table#email-login td { padding: 5px; border-width: 0px; } table#email-login th { text-align: right; font-size: 95%; font-weight: bold; vertical-align: top; color: #666666; } table#email-login td { color: #333333; } div.fieldWithErrors label { color: #990000; } div.formError { font-size: 80%; color: #990000; } </style> <%- } -%> <div id="dialog"> <h1>ログイン</h1> <%- form_for(:login_form, @login_form, :url => {:action => "login"}) { |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> <div style="text-align: center;"><%= submit_tag("ログイン") %></div> <%- } -%> </div> <%- unless production? -%> <div class="debug"> <%= error_messages_for(:login_form) %> </div> <%- end -%>
Version data entries
6 entries across 6 versions & 2 rubygems