Sha256: e3dbcc6ce327ce3291c38b7ba1b0d106c50f9f91770a5df4fee28cc2fde23fee

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

"use strict";

$(document).ready(function(){
  $('.signin-form').form({
    fields: {
      email: {
        identifier: 'email',
        rules: [
          {
            type: 'empty',
            prompt: 'Please enter your email address'
          },
          {
            type: 'email',
            prompt: 'Please enter a valid email address'
          }
        ]
      },
      password: {
        identifier: 'password',
        rules: [
          {
            type: 'empty',
            prompt: 'Please enter your password'
          }
        ]
      }
    }
  });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
distribot-ui-0.1.0 app/assets/javascripts/signin/signin.js