Skip to content

Instantly share code, notes, and snippets.

@marinalaguerre20
Last active September 4, 2015 16:20
Show Gist options
  • Save marinalaguerre20/74f0a88ab7853b16ea02 to your computer and use it in GitHub Desktop.
Save marinalaguerre20/74f0a88ab7853b16ea02 to your computer and use it in GitHub Desktop.
<link rel="stylesheet" type="text/css" href="BC_style.css">
<script src=" signupform.js"></script>
<div class="hometext">
<p>Baby Cycle is the new way to shop for your babyBaby Cycle is the new way to shop for your babyBaby Cycle is the new way to shop for your babyBaby Cycle</p>
</div>
<div class="lightbox">
<button class="button1">Sign Up</button>
</div>
<div class="form">
<form> </form>
<div class="close">Close</div>
<p><b>Sign up with Baby Cycle</b></p>
<p style="color:red">All fields required.</p>
<%= form_for(@user) do |f| %>
<% if @user.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="field">
<%= f.label :fname %><br>
<%= f.text_field :fname %>
</div>
<div class="field">
<%= f.label :lname %><br>
<%= f.text_field :lname %>
</div>
<div class="field">
<%= f.label :email %><br>
<%= f.text_field :email %>
</div>
<div class="field">
<%= f.label :password %><br>
<%= f.text_field :password %>
</div>
<div class="actions">
<%= f.submit %>
</div>
<% end %>
<button class="register">Register</button>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment