Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extended for bootstrap modal #74

Closed
wants to merge 1 commit into from

Conversation

martinknor
Copy link

Pouziti pro otevreni formulare v modalnim okne Bootstrap:

<a href="{link edit, $countryId}" data-toggle="modal" class="ajax"><i class="icon-edit"></i> Upravit</a>

V action edit:

<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">Upravit</h3>
</div>
<div class="modal-body">
    {form editForm}
    {form controls}  
</div>
<div class="modal-footer">
    {input send}
    {input cancel, 'data-dismiss' => "modal"}
    {/form}
 </div>

Pouziti pro otevreni formulare v modalnim okne Bootstrap:

<a href="{link edit, $countryId}" data-toggle="modal" class="ajax"><i class="icon-edit"></i> Upravit</a>

V action edit:
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Upravit</h3>
</div>
                            <div class="modal-body">
                                {form countryForm}
                                {form controls}  
                            </div>
                            <div class="modal-footer">
                                {input send, class => 'btn btn-primary'}
                                {input cancel, class => btn,  'data-dismiss' => "modal", 'aria-hidden' => "true"}
                                {/form}
                            </div>
@vojtech-dobes
Copy link
Owner

I am afraid this is out of scope of this project. Also the implementation doesn't seem very pretty :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants