diff options
Diffstat (limited to 'templates/repo/projects')
-rw-r--r-- | templates/repo/projects/new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/projects/new.tmpl b/templates/repo/projects/new.tmpl index 20c4d2ebfc..4778279317 100644 --- a/templates/repo/projects/new.tmpl +++ b/templates/repo/projects/new.tmpl @@ -54,7 +54,7 @@ <div class="ui selection dropdown"> {{svg "octicon-triangle-down" 14 "dropdown icon"}} {{range $element := .CardTypes}} - {{if or (eq $.card_type $element.CardType) (and (not $.card_type) (eq $element.CardType 2))}} + {{if or (eq $.card_type $element.CardType) (and (not $.PageIsEditProjects) (eq $element.CardType 1))}} <input type="hidden" name="card_type" value="{{$element.CardType}}"> <div class="default text">{{$.locale.Tr $element.Translation}}</div> {{end}} |