Sha256: dfe082a98bc3c93642b49fbef2078fc2b2f94e553081bd329718953181c841cf

Contents?: true

Size: 949 Bytes

Versions: 9

Compression:

Stored size: 949 Bytes

Contents

<%- @title = p_("MultiAuth", "Add email authentication credential") -%>

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

<%- form_for(:edit_form, @edit_form, :url => {:action => "create"}) { |f| -%>
  <table>
    <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(p_("MultiAuth", "Add")) %></div>
<%- } -%>

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
multi_auth-0.2.0 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.1.0 app/views/credentials/email/new.html.erb
multi_auth-0.1.0 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.0.7 app/views/credentials/email/new.html.erb
multi_auth-0.0.7 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.0.6 app/views/credentials/email/new.html.erb
multi_auth-0.0.6 app/views/credentials/email/new.html.erb
okkez-multi_auth-0.0.5 app/views/credentials/email/new.html.erb
multi_auth-0.0.5 app/views/credentials/email/new.html.erb