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

Some informatie over One-page-CRUD template requested #47

Closed
arjenmeijer opened this issue Feb 24, 2016 · 3 comments
Closed

Some informatie over One-page-CRUD template requested #47

arjenmeijer opened this issue Feb 24, 2016 · 3 comments

Comments

@arjenmeijer
Copy link

In a _form.php file you generate for example:

\mootensai\components\JsBlock::widget(['viewFile' => '_script', 'pos'=> \yii\web\View::POS_END, 
    'viewParams' => [
        'class' => 'Classname', 
        'relID' => 'clasname', 
        'value' => \yii\helpers\Json::encode($model->classnames),
        'isNewRecord' => ($model->isNewRecord) ? 1 : 0
    ]
]);

and

 <div class="form-group" id="add-classname"></div>`

This are preparation to make a one-page-crud? What is the purpose? Can I use it yet by hand?

@mootensai
Copy link
Owner

No, it's not preparation to make a one-page-crud. that's for managing the related form.

one page crud will have to create a new template

@mootensai
Copy link
Owner

you could just ask at
https://gitter.im/mootensai/yii2-enhanced-gii

@arjenmeijer
Copy link
Author

Thanks. I did not know gitter.

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

No branches or pull requests

2 participants