mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
Use textarea as we expect lots of input
This commit is contained in:
parent
09cac163e0
commit
4c1d12b2e4
1 changed files with 20 additions and 24 deletions
|
@ -75,15 +75,11 @@
|
|||
<!-- TODO: implement Err_FederationRepos somewhere -->
|
||||
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
||||
<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 class="field">
|
||||
<button class="ui primary button">{{ctx.Locale.Tr "repo.settings.update_settings"}}</button>
|
||||
</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>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue