Blueform Updates#83
Open
mjwelchphd wants to merge 5 commits intoRamaze:masterfrom
mjwelchphd:blueform
Open
Conversation
Created a new "tag" method which creates all the tags. The earlier methods, such as input_text, et.al., now just call "tag". Also added an "arrangement" option to allow the label-control fields to be wrapped in paragraphs (the default), or a table for nicer formatting, or no wrapping at all.
…eal methods in the code for the BlueForm HTML5 changes to work.
…w BlueForm updates. Numbered the tests so I could figure out which was which. The tests below 100 are the original tests, and the ones over 100 are the new tests. If all the tests under 100 pass, the new BlueForm is completely backwards compatible.
Member
|
This looks good, I'll just have to tweak the version a bit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated BlueForm to:
form_forwhich can be:arrangements=>:paragraphand the label + input will be wrapped in<p>...</p> as before; or:arrangements=>:tablewill wrap in a table format, and:arrangements=>:none` will omit the wrapping.tagmethod where all the actual generation takes place. This was needed to implement the arrangements.tagwith their args and opts. This implements DRY.tagmethod.