Comments (2)
Until now I rendered the buttons manually. Some examples:
In a modal footer:
<button type="submit"
id="{{ block('modal_id') }}_save"
class="btn btn-primary pull-left modal-form-save"
data-loading-text="{{ (submit_button|default('action.save'))|trans }}…"
>
{{ (submit_button|default('action.save'))|trans }}
</button>
In a delete dialog:
<button type="submit"
id="{{ block('modal_id') }}_save"
class="btn {% if used %}btn-danger{% else %}btn-primary{% endif %} pull-left modal-form-save"
data-loading-text="{{ 'action.delete'|trans }}..."
>
{{ 'action.delete'|trans }}
</button>
In a regular form:
<input type="submit"
class="btn btn-primary"
value="{{ (submit_button|default('action.save'))|trans }}"
data-loading-text="{{ (submit_button|default('action.save'))|trans }}…"
/>
from tablerbundle.
Merged in #47
from tablerbundle.
Related Issues (20)
- Component - Carousel HOT 3
- Include a Screenshot from the demo project in the project readme HOT 1
- Menu item allows `null` route name but not when rendered HOT 1
- Card embed block names HOT 5
- Update Tabler to beta15 HOT 2
- [Twig] File Name convention HOT 1
- [Button] `btn-sm` and `icon` class
- [Menu] Set it more customizable? HOT 5
- [Trans] Auto trans on devs content should not be a thing HOT 10
- [Twig] Rename all `url` params to `href`
- Support Symfony 7 in TablerBundle HOT 2
- release 1.0 HOT 2
- support ux components HOT 6
- Flash messages not displayed after redirectToRoute() HOT 9
- [Docs] Dynamic theme options (like dark mode) HOT 3
- Update to beta 20 HOT 1
- [Feature] Image Check Checkbox/Radio Inputs HOT 3
- Alert macro and `alert-important` class HOT 6
- Update Tabler to 1.0.0-beta10 HOT 11
- Component - Accordion HOT 4
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 tablerbundle.