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

CakePHP 3 horizontal form #75

Open
veera1908 opened this issue Feb 20, 2019 · 6 comments
Open

CakePHP 3 horizontal form #75

veera1908 opened this issue Feb 20, 2019 · 6 comments
Assignees
Labels

Comments

@veera1908
Copy link

how to configure form-horizontal using cakephp 3.
screenshot_2019-02-20 super machines users

@maiconpinto
Copy link
Owner

Hi @veera1908 I'm sorry by a long time to answer you. I don't use horizontal form, but I'll test, and if it's not able yet, in next release It will be.

@veera1908
Copy link
Author

this is CakePHP 3.7 code for form horizontal

Form->create($user, ['role' => 'form', 'class' => 'form-horizontal']); ?>
<div class="box-body">
<?php
	echo $this->Form->control('user_full_name', ['label' => 'User Name']);
	echo $this->Form->control('username', ['label' => 'Login ID']);
	echo $this->Form->control('user_email', ['label' => 'User Email']);
	echo $this->Form->control('user_mobile_no', ['label' => 'User Mobile No.']);
	echo $this->Form->control('password', ['type' => 'password', 'label' => 'User Password']);
?>
</div>
<!-- /.box-body -->
<?php 
	echo $this->Form->submit(__('Submit')); 
?>
Form->end(); ?>

@ghost
Copy link

ghost commented May 12, 2019

While this issue is fixed, it's possible to use the Bootstrap Form Helper instead of the AdminLTE one?

EDIT: after a quick test it seems to work fine.

@maiconpinto
Copy link
Owner

Testing in this link

@veera1908
Copy link
Author

can you share the code to test the code in the project

@maiconpinto
Copy link
Owner

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

No branches or pull requests

2 participants