> On Jan 1, 2018, at 9:18 AM, Sam Ruby <ru...@intertwingly.net> wrote: > > On Mon, Jan 1, 2018 at 11:42 AM, Craig Russell <apache....@gmail.com> wrote: >> Hi Shane, >> >>> On Dec 31, 2017, at 6:16 AM, Shane Curcuru <a...@shanecurcuru.org> wrote: >>> >>> Two suggestions, in case they help: >>> >>> - Review the Bootstrap documentation for forms, and google some other >>> Bootstrap form examples. It took me a while to figure out how some of >>> the Bootstrap CSS layout for controls works. >> >> I've tried a number of things to get a simple multiline input that spans the >> whole width of the window, to no effect. >> https://getbootstrap.com/docs/4.0/components/forms/#form-controls looks >> promising but I can't figure out how to map the textarea source to this: >> >> <div class="form-group"> >> <label for="exampleFormControlTextarea1">Example textarea</label> >> <textarea class="form-control" id="exampleFormControlTextarea1" >> rows="3"></textarea> >> </div> >> >> I've tried _div.form-group but how do I get the <textarea rows="3"> to be >> generated? > > _textarea rows: 3
That gives me a tiny three row box. Width 18 characters. > >> Do you know where the documentation lives for the mapping from the _p, >> _div.form_group, etc. to the <p>, <div class="form-group"> ? > > https://github.com/rubys/wunderbar#quick-start-html > >>> - A form example (in a simple CGI, not an app) with multiline text: >>> >>> https://whimsy.apache.org/committers/tm-report >>> >> I notice in your tm-report page you use _div.form_group for many of the >> fields but then switch to a completely different paradigm emit_input for >> multiline input. What is the reason for that? >> >> Thanks, >> >> Craig > > P.S. I'll try to get back to your original questions later today. > >>> Craig Russell wrote on 12/30/17 3:17 PM: >>>> I've pushed changes to the project/icla and have some issues I just cannot >>>> figure out: >>>> >>>> 1. The discuss/vote/invite tab should default to discuss but instead >>>> defaults to invite but the display is for discuss. >>>> 2. The discuss/vote/invite tab responds to the mouse click by changing the >>>> form but doesn't change the discuss/vote/invite itself. It remains stuck >>>> on invite. >>>> 3. The preview buttons never display even though the @phase variable is >>>> set to discuss, vote, or invite. >>>> 4. The radio buttons are displayed vertically only because I added _p >>>> within them. I modeled these buttons after secretary/workbench selection >>>> which shows vertical but when I remove the _p the buttons are displayed >>>> horizontally all smooshed together. >>>> 5. The Comment section is a text area but I cannot figure out how to make >>>> the width/size/columns stretch all the way across. I modeled the Note >>>> section of secretary/workbench but can't make a regular text box work with >>>> multiple lines. >>>> 6. The Comment section would be nicer with a blue border. >>>> >>>> Any suggestions? The code is in www/project/icla/views/pages/invite.js.rb >>>> >>>> Thanks, >>>> >>>> Craig >>>> >>>> Craig L Russell >>>> Secretary, Apache Software Foundation >>>> c...@apache.org http://db.apache.org/jdo >>>> >>> >>> >>> -- >>> >>> - Shane >>> https://www.apache.org/foundation/marks/resources >> >> Craig L Russell >> Secretary, Apache Software Foundation >> c...@apache.org http://db.apache.org/jdo Craig L Russell Secretary, Apache Software Foundation c...@apache.org http://db.apache.org/jdo