new page fix

This commit is contained in:
Scott O'Hara 2013-07-14 12:59:00 -04:00
parent 8db0937199
commit b2a8666908

View file

@ -1,25 +1,23 @@
- if @errors
.content-Base
- if @errors
div.alert.alert-error
h3 There were errors, please correct:
- @errors.each do |error|
h5 = error
h1.txt-Center Create new HTML page
.row
.span8.offset2
div.alert.alert-error
h3 There were errors, please correct:
- @errors.each do |error|
h5 = error
.span12.text-center
form method="POST" action="/site_files/create_page" enctype="multipart/form-data"
input name="csrf_token" type="hidden" value="#{csrf_token}"
h4 What's the name of your page?
h4: input type="text" name="pagefilename" autocapitalize="off" autocorrect="off".html
p: input.btn-Action type="submit" value="Create Page"
.row
.span12.text-center
h1 Create new HTML page
.row
.span12.text-center
form method="POST" action="/site_files/create_page" enctype="multipart/form-data"
input name="csrf_token" type="hidden" value="#{csrf_token}"
h4 What's the name of your page?
h4: input type="text" name="pagefilename" autocapitalize="off" autocorrect="off".html
p: input.btn.btn-success.btn-large type="submit" value="Create Page"
.row
.span6.offset3
h5 Note: We will automatically scrub any characters not matching: a-z A-Z 0-9 _ - .
h5 Page must not already exist.
h5 If you want to make this the index page (and an index page doesn't exist), name it <strong>index.html</strong>.
.row
.span6.offset3
h5 Note: We will automatically scrub any characters not matching: a-z A-Z 0-9 _ - .
h5 Page must not already exist.
h5 If you want to make this the index page (and an index page doesn't exist), name it <strong>index.html</strong>.