You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
2 years ago
|
{{!
|
||
|
@template core/signup_form_layout
|
||
|
|
||
|
Example context (json):
|
||
|
{
|
||
|
"logourl": "https://moodle.org/logo/moodle-logo.svg",
|
||
|
"sitename": "Site name",
|
||
|
"formhtml": "<p>(Form html would go here)</p>"
|
||
|
}
|
||
|
}}
|
||
|
<div class="container-fluid mt-1 mt-md-5">
|
||
|
<div class="row justify-content-md-center">
|
||
|
<div class="col-md-8 col-xl-6">
|
||
|
<div class="card">
|
||
|
<div class="card-body">
|
||
|
<div class="card-title text-xs-center">
|
||
|
{{#logourl}}
|
||
|
<h2><img class="img-fluid" src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
|
||
|
{{/logourl}}
|
||
|
{{^logourl}}
|
||
|
<h2>{{sitename}}</h2>
|
||
|
{{/logourl}}
|
||
|
<hr>
|
||
|
</div>
|
||
|
<div class="card-title">
|
||
|
<h3>{{#str}}newaccount{{/str}}</h3>
|
||
|
</div>
|
||
|
{{{formhtml}}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|