From ee14ccb3e571dc5feeb1bf5d2ae0e28eea1fa905 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 19 Apr 2015 19:09:57 +0200 Subject: trying to rearange things in the login form --- FINDINGS | 9 +++++++-- media/basic-profile.css | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/FINDINGS b/FINDINGS index 09a06c9..cc2ca62 100644 --- a/FINDINGS +++ b/FINDINGS @@ -2,5 +2,10 @@ - template parser: - ugly: <%= session_username() %> works, <%= session_username( ) %> not, the same syntax quirk doesn't exist for 'include' for example - - fields and submit_buttons property on form (for rendering former in a table, - later with spaces). mentioned in the documenation, doens't seem to work. + - fields and submit_buttons property on form (for rendering former in a table, + later with spaces). mentioned in the documenation, doens't seem to work. + - order of generated form is hard-coded: + label > validation/error message > widget + The name of cppcms_form_error should be changeable, actually the whole form line + should be a built-in template + diff --git a/media/basic-profile.css b/media/basic-profile.css index c102585..acf213c 100644 --- a/media/basic-profile.css +++ b/media/basic-profile.css @@ -30,3 +30,5 @@ h1,h2,h3 {font-weight:700; line-height:1.4em;} .credits a {color:#888;} .clear {clear:both;} .cppcms_form_error {color: red;} +form > table > tbody > tr > th {font-weight: normal; text-align: right; } + -- cgit v1.2.3-54-g00ecf