Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Best way to style reform forms
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard Wallace  
View profile  
 More options Nov 7 2012, 12:18 am
From: Richard Wallace <rwall...@thewallacepack.net>
Date: Tue, 6 Nov 2012 22:18:02 -0700
Local: Wed, Nov 7 2012 12:18 am
Subject: Best way to style reform forms

Hey all,

I'm using reform-blaze and am curious about the best way to style forms.
 My current plans are to use Twitter bootstrap (though may switch later),
and want to use the horizontal form layout.  But that means my forms need
to look like

<form class="form-horizontal">
  <div class="control-group">
    <label class="control-label" for="inputEmail">Email</label>
    <div class="controls">
      <input type="email" id="inputEmail" placeholder="Email">
    </div>
  </div>
</form>

From what I can tell, I'm going to need to rewrite the functions
in Text.Reform.Blaze.Text.  I see that I can use the `view` function to
"lift" `Html` into a `Form`, but I don't see a way to add the necessary
classes to labels and inputs.  Am I missing something?

Thanks,
Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.