Use textarea as we expect lots of input
This commit is contained in:
parent
09cac163e0
commit
4c1d12b2e4
|
@ -75,15 +75,11 @@
|
||||||
<!-- TODO: implement Err_FederationRepos somewhere -->
|
<!-- TODO: implement Err_FederationRepos somewhere -->
|
||||||
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
||||||
<label for="federation_repos">{{ctx.Locale.Tr "repo.settings.federation_labelname_repo"}}</label>
|
<label for="federation_repos">{{ctx.Locale.Tr "repo.settings.federation_labelname_repo"}}</label>
|
||||||
<input id="federation_repos" name="federation_repos" value="{{.Repository.FederationRepos}}" data-repo-name="{{.Repository.FederationRepos}}">
|
<textarea id="repo_list" name="repo_list" rows="2" placeholder="{{ctx.Locale.Tr "repo.settings.federation_repo_list_empty"}}"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>
|
<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
|
||||||
<label for="description">{{ctx.Locale.Tr "repo.settings.federation_federated_repo_list"}}</label>
|
|
||||||
<textarea id="description" name="description" rows="2" placeholder="{{ctx.Locale.Tr "repo.settings.federation_repo_list_empty"}}" maxlength="255">{{.Repository.FederationRepos}}</textarea>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue