@ -9,6 +9,11 @@
</h3>
</h3>
<div class="ui attached segment">
<div class="ui attached segment">
{{ template "base/alert" . }}
{{ template "base/alert" . }}
{{ if not .CanCreateRepo }}
<div class="ui negative message">
<p> {{ .i18n .Tr ( TrN .i18n .Lang .MaxCreationLimit "repo.form.reach_limit_of_creation_1" "repo.form.reach_limit_of_creation_n" ) .MaxCreationLimit }} </p>
</div>
{{ end }}
<div class="inline required field {{ if .Err_Owner }} error {{ end }} ">
<div class="inline required field {{ if .Err_Owner }} error {{ end }} ">
<label> {{ .i18n .Tr "repo.owner" }} </label>
<label> {{ .i18n .Tr "repo.owner" }} </label>
<div class="ui selection owner dropdown">
<div class="ui selection owner dropdown">
@ -193,7 +198,7 @@
<br/>
<br/>
<div class="inline field">
<div class="inline field">
<label></label>
<label></label>
<button class="ui green button">
<button class="ui green button {{ if not .CanCreateRepo }} disabled {{ end }} ">
{{ .i18n .Tr "repo.create_repo" }}
{{ .i18n .Tr "repo.create_repo" }}
</button>
</button>
<a class="ui button" href=" {{ AppSubUrl }} /"> {{ .i18n .Tr "cancel" }} </a>
<a class="ui button" href=" {{ AppSubUrl }} /"> {{ .i18n .Tr "cancel" }} </a>