diff --git a/Text/Reform/Blaze/Common.hs b/Text/Reform/Blaze/Common.hs
--- a/Text/Reform/Blaze/Common.hs
+++ b/Text/Reform/Blaze/Common.hs
@@ -324,3 +324,10 @@
       where
         mkHidden (nm, val) =
             H.input ! type_ "hidden" ! name (toValue nm) ! value (toValue val)
+
+-- | add an attribute to the 'Html' for a form element.
+setAttr :: (Monad m, Functor m) =>
+           Form m input error Html proof a
+         -> H.Attribute
+         -> Form m input error Html proof a
+setAttr form attr = mapView (\e -> e ! attr) form
diff --git a/reform-blaze.cabal b/reform-blaze.cabal
--- a/reform-blaze.cabal
+++ b/reform-blaze.cabal
@@ -1,5 +1,5 @@
 Name:                reform-blaze
-Version:             0.1
+Version:             0.1.1
 Synopsis:            Add support for using blaze-html with Reform
 Description:         Reform is a library for building and validating forms using applicative functors. This package add support for using reform with blaze-html.
 Homepage:            http://www.happstack.com/
@@ -15,7 +15,7 @@
 source-repository head
     type:     darcs
     subdir:   reform-blaze
-    location: http://patch-tag.com/r/stepcut/reform
+    location: http://hub.darcs.net/stepcut/reform
 
 Library
   Exposed-modules:   Text.Reform.Blaze.Common
