Sha256: d183e24caf2757d34d2a7dff256cd86f0600c639a48ef93250b5a4228e00b5cf

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

<%- @title = "メール認証情報の追加" -%>
<%- @topic_path << ["トップ", root_path] -%>
<%- @topic_path << ["ログイン設定", url_for(:controller => "/credentials")] -%>
<%- @topic_path << [@title] -%>

<h1><%=h @title %></h1>

<%- form_for(:edit_form, @edit_form, :url => {:action => "create"}) { |f| -%>
  <table border="1">
    <tr>
      <th><%= f.label(:email) %></th>
      <td>
        <%= f.text_field(:email, :size => 30) %>
        <%= error_message_on(:edit_form, :email) %>
        <%= error_message_on(:email_credential, :email) %>
      </td>
    </tr>
    <tr>
      <th><%= f.label(:password) %></th>
      <td>
        <div><%= f.password_field(:password, :size => 20) %></div>
        <div><%= f.password_field(:password_confirmation, :size => 20) %></div>
        <%= error_message_on(:edit_form, :password) %>
      </td>
    </tr>
  </table>
 <div><%= submit_tag("追加") %></div>
<%- } -%>

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
okkez-multi_auth-0.0.3 app/views/credentials/email/new.html.erb
multi_auth-0.0.3 app/views/credentials/email/new.html.erb
multi_auth-0.0.2 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.0.2 app/views/credentials/email/new.html.erb
multi_auth-0.0.1 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.0.1 app/views/credentials/email/new.html.erb