Comments (5)
Hmm, deform's own readonly templates have no styling that makes elements look like form fields. Maybe I need to understand the use case here?
from deform_bootstrap.
@dnouri while you're of course right with this, I like the idea of having readonly fields within a form rendered as "uneditable" form fields.
FWIW I either have a form with inputs that can be editable or not, or I have a view without [de]form at all. IOW: I use deform with forms only, whereas deform's readonly templates have little to nothing to do with forms.
Others' mileage may vary of courseโฆ
from deform_bootstrap.
Well, I think it's mostly stylistic. If you just use the default templates than the text doesn't line up with the label when using the default horizontal form layout. It's just not... er.. "bootstrappy" ^_^ The sample I gave is from http://twitter.github.io/bootstrap/base-css.html#forms under "Uneditable inputs".
from deform_bootstrap.
@disko I'm using deform with ColanderAlchemy. There's cases where I'd like to display the value for the primary key of the object the person is viewing without letting them view it. The readonly field is the most convenient.
from deform_bootstrap.
๐
from deform_bootstrap.
Related Issues (19)
- Depend on js.bootstrap instead of including bootstrap.min.css? HOT 3
- Whatโs the schedule for the next PyPI release? HOT 3
- DateParts not working well with row-fluid
- Sequence widget not working (javascript dom manipulation) HOT 6
- Demo is not bootstraped HOT 3
- widget requirements causes errors in form rendering since they are not registered
- No chosen multiple select widget HOT 2
- Any plans to upgrade to Bootstrap 2.2.x? HOT 4
- Merge deform_bootstrap into deform HOT 5
- Placeholder Support HOT 2
- images are missing from deform's copy of bootstrap
- 404 Not Found !! The resource could not be found. /img/glyphicons-halflings.png HOT 4
- Update to bootstrap 3 HOT 8
- fix resource registry, again HOT 1
- form.pt error HOT 2
- Missing clausing div in template HOT 2
- Bootstrap 3 support HOT 1
- Radio choice template should use the normalized values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deform_bootstrap.