Skip to content

Commit

Permalink
Merge pull request #63 from tisdall/master
Browse files Browse the repository at this point in the history
pull request for Issue #59:  readonly textinput fields
  • Loading branch information
disko committed Aug 9, 2013
2 parents 1266bc4 + add7265 commit 4c5979b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ CHANGES
- add bootstrap iconglyphs and fix deform_bootstrap.css to point to
them. See #61

- add readonly textinput that uses bootstrap styling

0.2.8 - 2013-06-25
------------------

Expand All @@ -20,7 +22,7 @@ CHANGES
0.2.7 - 2013-05-04
------------------

- Add suuport for Py3k. See #55.
- Add support for Py3k. See #55.

- Improve test coverage. See #55.

Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ Information for developers / contributors

Running unit tests
------------------
::

$ bin/python setup.py dev
$ bin/py.test
Expand Down
10 changes: 10 additions & 0 deletions deform_bootstrap/templates/readonly/textinput.pt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<span tal:define="css_class css_class|field.widget.css_class;
oid oid|field.oid;
style style|field.widget.style|None"
tal:omit-tag="">
<span tal:attributes="class string:uneditable-input ${css_class};
style style"
id="${oid}">
${cstruct}
</span>
</span>

0 comments on commit 4c5979b

Please sign in to comment.