mirror of
https://github.com/neocities/neocities.git
synced 2025-04-29 11:37:59 +02:00
23 lines
No EOL
854 B
Text
23 lines
No EOL
854 B
Text
.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
|
|
|
|
<br />
|
|
.txt-Center
|
|
form method="POST" action="/site_files/create_page" enctype="multipart/form-data"
|
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
|
p.eps What's the name of your page?
|
|
p.eps: input type="text" name="pagefilename" autocapitalize="off" autocorrect="off".html
|
|
p: input.btn-Action type="submit" value="Create Page"
|
|
|
|
.row
|
|
.span6.offset3
|
|
p.eps Note: We will automatically scrub any characters not matching: a-z A-Z 0-9 _ - .
|
|
p.zeta Page must not already exist.
|
|
p.zeta If you want to make this the index page (and an index page doesn't exist), name it <strong>index.html</strong>. |