Add a class to each form based on name

Adrian Simmons created

Signed-off-by: Adrian Simmons <adrian@perlucida.co.uk>

Change summary

ws/static/login.html.tmpl          | 2 +-
ws/static/new.html.tmpl            | 2 +-
ws/static/select-release.html.tmpl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

ws/static/login.html.tmpl 🔗

@@ -5,7 +5,7 @@
             </div>
         </header>
         <div class="wrapper">
-            <form method="post">
+            <form method="post" class="login">
                 <div class="input">
                     <label for="username">Username:</label>
                     <input type="text" id="username" name="username">

ws/static/new.html.tmpl 🔗

@@ -2,7 +2,7 @@
 {{- template "header" }}
         <div class="wrapper">
         <h2>Track a new project</h2>
-        <form method="post">
+        <form method="post" class="new-project">
             <div class="input">
                 <label for="url">Project URL:</label>
                 <input type="text" id="url" name="url">

ws/static/select-release.html.tmpl 🔗

@@ -2,7 +2,7 @@
 {{- template "header" }}
 {{- with .Project }}
         <div class="wrapper">
-        <form method="post">
+        <form method="post" class="select-release">
             <div class="input">
                 <p>Which release of {{ .Name }} are you currently running?</p>
                 {{- $url := .URL -}}