javascript:
var RecaptchaOptions = {
theme : 'clean'
};
- if !@site.errors.empty?
.row
.span8.offset2
.alert.alert-block.alert-error
p There were errors creating your home page:
- @site.errors.each do |error|
p = error.last.first
.row
.span8.offset3
form method="POST" action="/create"
input name="csrf_token" type="hidden" value="#{csrf_token}"
h2 Create a new Home Page
.row
.span6
p First, enter a username. This will also be used as your site path. Do not forget this, it will be used to sign in to and manage your home page. It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
.row
.span1
h5 Username
.span6
p .neocities.org
.row
.span6
p Next, enter a password. This will be used to allow you to login. Minimum 5 characters. If you don't make it a good password, Dade Murphy from the movie Hackers will come in and steal your "garbage files".
.row
.span1
h5 Password
.span6
input name="password" type="password"
.row
.span6
p Now you can enter an e-mail address. Your e-mail address is private and we will not show it to anyone for any reason. You don't have to provide one, but we will not be able to reset your password without it, so don't lose your username and password if you leave this blank!
.row
.span1
h5 Email
.span6
input name="email" type="email" placeholder="youremail@example.com" value="#{@site.email}"
.row
.span6
p
| You can optionally enter some tags! Tags will allow others to find your site based on your interests, or your site's theme. Separate multiple tags with commas. Don't think too hard about this, you can change them later. You can have a maximum of ten tags, and there is a two word per tag maximum (extra words in a tag will be removed).
.row
.span1
h5 Tags
.span6
p: input name="tags" type="text" style="width: 400px" placeholder="pokemon, video games, bulbasaur" value="#{params[:tags]}"
.row
.span6
p Last thing! Enter these two words correctly (with spaces) so we know you're not a robot (don't worry robots, we still love you).
div
== recaptcha_tag :challenge
.row
.span6
h3 You're done. Just click the button below!
.row style="margin-top: 10px"
.span3.offset1
input.btn.btn-success.btn-large type="submit" value="Create Home Page"