aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/team/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/team/new.tmpl')
-rw-r--r--templates/org/team/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl
index 9877e9a941..2531868ec8 100644
--- a/templates/org/team/new.tmpl
+++ b/templates/org/team/new.tmpl
@@ -56,7 +56,7 @@
<br>
<div class="field">
<div class="ui radio checkbox">
- <input type="radio" name="permission" value="{{if .PageIsOrgTeamsNew}}read{{else}}{{.Team.AccessMode}}{{end}}" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}>
+ <input type="radio" name="permission" value="read" {{if or .PageIsOrgTeamsNew (eq .Team.AccessMode 1) (eq .Team.AccessMode 2)}}checked{{end}}>
<label>{{.i18n.Tr "org.teams.general_access"}}</label>
<span class="help">{{.i18n.Tr "org.teams.general_access_helper"}}</span>
</div>