Add id's to buttons on beta program page

This commit is contained in:
Shane Kilkelly 2016-06-16 10:56:16 +01:00
parent 241d3bfc14
commit 3e3dd199a0
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ block content
.col-md-12
if user.betaProgram
p #{translate("beta_program_already_participating")}
form(method="post", action="/beta/opt-out", novalidate)
form(id="beta-program-opt-out", method="post", action="/beta/opt-out", novalidate)
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
button.btn.btn-primary(
@ -37,7 +37,7 @@ block content
.form-group
a(href="/project").btn.btn-info #{translate("back_to_your_projects")}
else
form(method="post", action="/beta/opt-in", novalidate)
form(id="beta-program-opt-in", method="post", action="/beta/opt-in", novalidate)
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
button.btn.btn-primary(

View file

@ -108,7 +108,7 @@ block content
p.small
| #{translate("beta_program_already_participating")}
div
a(href="/beta/participate") #{translate("manage_beta_program_membership")}
a(id="beta-program-participate-link" href="/beta/participate") #{translate("manage_beta_program_membership")}
hr