Skip to content

Commit

Permalink
Merge pull request #16 from nularis/master
Browse files Browse the repository at this point in the history
Add barLevel attribute to IBarCodeBase

Thanks a lot Eric!
  • Loading branch information
strichter committed Feb 19, 2014
2 parents cde9800 + 6d315b1 commit bd6f736
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/z3c/rml/form.py
Expand Up @@ -183,6 +183,13 @@ class IBarCodeBase(interfaces.IRMLDirectiveSignature):
title=u'Routing',
description=u'The routing information string.',
required=False)

# QR
barLevel = attr.Choice(
title=u'Bar Level',
description=u'The error correction level for QR code',
choices=['L', 'M', 'Q', 'H'],
required=False)


class IBarCode(IBarCodeBase):
Expand Down

0 comments on commit bd6f736

Please sign in to comment.