You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2022/06/01 00:59:00 UTC

[whimsy] branch master updated: simplify label

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new be191c95 simplify label
be191c95 is described below

commit be191c9544653da81d356c7ad60d891b8eb673d7
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue May 31 20:58:46 2022 -0400

    simplify label
---
 www/project/icla2/views/form.erb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/project/icla2/views/form.erb b/www/project/icla2/views/form.erb
index 16c9dcea..0668f79d 100644
--- a/www/project/icla2/views/form.erb
+++ b/www/project/icla2/views/form.erb
@@ -6,8 +6,10 @@
 
   <body>
     <form method="post" action="/answer">
-      <label for="name">What is your name?</label>
-      <input id="name" name="name">
+      <label>What is your name?
+        <input name="name">
+      </label>
+
       <input type="submit">
     </form>
   </body>