Hide the registration button depending on the setting

This commit is contained in:
Raphael Randschau committed 2015-02-05 18:15:00 +01:00
1 parent 79f3281548
commit 3c65265871
2 files changed
+3

No files matched your search

+2
View File
@@ -14,7 +14,9 @@
<input class="ipt ipt-large" name="password" type="password" placeholder="{{.i18n.Tr "home.password_holder"}}"/>
<input name="from" type="hidden" value="home">
<button class="btn btn-black btn-large">{{.i18n.Tr "sign_in"}}</button>
{{if .ShowRegistrationButton}}
<button class="btn btn-green btn-large" id="register-button">{{.i18n.Tr "register"}}</button>
{{end}}
</form>
<div id="promo-social" class="social-buttons">
{{template "ng/base/social" .}}