liquid_feedback_frontend

diff app/main/initiative/new.lua @ 4:80c215dbf076

Version alpha5

Many optical changes and improved usability

Support for different wiki-formatting-engines

Help system
author bsw/jbe
date Thu Dec 10 12:00:00 2009 +0100 (2009-12-10)
parents 768faea1096d
children afd9f769c7ae
line diff
     1.1 --- a/app/main/initiative/new.lua	Mon Nov 30 12:00:00 2009 +0100
     1.2 +++ b/app/main/initiative/new.lua	Thu Dec 10 12:00:00 2009 +0100
     1.3 @@ -38,8 +38,18 @@
     1.4          foreign_name = "name"
     1.5        }
     1.6      end
     1.7 -    ui.field.text{ label = _"Name",  name = "name" }
     1.8 -    ui.field.text{ label = _"Discussion URL",  name = "discussion_url" }
     1.9 +    ui.field.text{ label = _"Name", name = "name" }
    1.10 +    ui.field.text{ label = _"Discussion URL", name = "discussion_url" }
    1.11 +    ui.field.select{
    1.12 +      label = _"Wiki engine",
    1.13 +      name = "formatting_engine",
    1.14 +      foreign_records = {
    1.15 +        { id = "rocketwiki", name = "RocketWiki" },
    1.16 +        { id = "compat", name = _"Traditional wiki syntax" }
    1.17 +      },
    1.18 +      foreign_id = "id",
    1.19 +      foreign_name = "name"
    1.20 +    }
    1.21      ui.field.text{ label = _"Draft", name = "draft", multiline = true, attr = { style = "height: 50ex;" } }
    1.22      ui.submit{ text = _"Save" }
    1.23    end

Impressum / About Us