|
[
Permalink
| « Hide
]
David Peterson added a comment - 23/Jun/08 03:55 AM
Yeah, should be easy enough to add to the next version. In the meantime, you could use the {span} macro from Adaptavist's Content Formatting plugin to wrap a 'classed' element around it and style it from there. Possibly hard to differentiate the two <input>elements though...
Nice suggestion, I'll try it. I'm using Adaptavist Theme Builder, so I added some custom CSS that worked OK. Forgive the remarks on door-slamming – seems many macros happily emit raw HTML – like the jira issues macro, go figure.
No problems. I actually agree completely. I particularly hate it when macros output hard-coded titles or other text... add-page-form was a pretty quick-n-dirty addition that was added for a specific client requirement, so it hasn't really gotten the TLC it probably deserves...
Hi Steve,
Ive added a class parameter to the macro, the specified class will be added to the input text field and the submit button, for example: {add-page-form:class=myClass}Add page{add-page-form} will add myClass as the class for the 2 input fields, I will update he documentation to reflect this addition shortly. Regards, Very nice, thanks! I'll look for it.
|
||||||||||||||||||||||||||||||||||||||||||||