mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 19:42:04 +01:00
da2585c11e
This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
23 lines
803 B
Cheetah
23 lines
803 B
Cheetah
{{template "base/head" .}}
|
|
<div class="organization invite">
|
|
{{template "org/header" .}}
|
|
<div class="ui container">
|
|
<div id="invite-box">
|
|
{{template "base/alert" .}}
|
|
<h2>{{.i18n.Tr "org.members.invite_desc" .Org.DisplayName}}</h2>
|
|
<form class="ui form" action="{{.Link}}" method="post">
|
|
{{.CsrfTokenHtml}}
|
|
<div class="inline field ui left">
|
|
<div id="search-user-box">
|
|
<div class="ui input">
|
|
<input class="prompt" name="uname" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required>
|
|
</div>
|
|
<div class="ui segment results hide"></div>
|
|
</div>
|
|
</div>
|
|
<button class="ui blue button">{{.i18n.Tr "org.members.invite_now"}}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|