mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
new page fix
This commit is contained in:
parent
8db0937199
commit
b2a8666908
1 changed files with 22 additions and 24 deletions
|
@ -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>.
|
Loading…
Add table
Reference in a new issue