{{end}}
</h2>
{{template "base/alert" .}}
- <form class="ui form grid" action="{{.Link}}" method="post">
+ <form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
- <div class="twelve wide column">
<div class="field {{if .Err_Title}}error{{end}}">
<label>{{.locale.Tr "repo.milestones.title"}}</label>
<input name="title" placeholder="{{.locale.Tr "repo.milestones.title"}}" value="{{.title}}" autofocus required maxlength="50">
<label>{{.locale.Tr "repo.milestones.desc"}}</label>
<textarea name="content">{{.content}}</textarea>
</div>
- </div>
- <div class="ui container">
<div class="divider"></div>
- <div class="ui right">
+ <div class="gt-text-right">
{{if .PageIsEditMilestone}}
<a class="ui primary basic button" href="{{.RepoLink}}/milestones">
{{.locale.Tr "repo.milestones.cancel"}}
{{.locale.Tr "repo.milestones.create"}}
</button>
{{end}}
- </div>
</div>
</form>
</div>