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

[CRUD] Add the index view templates to the generator #492

Closed
malparty opened this issue Dec 19, 2023 · 0 comments · Fixed by #505
Closed

[CRUD] Add the index view templates to the generator #492

malparty opened this issue Dec 19, 2023 · 0 comments · Fixed by #505
Assignees

Comments

@malparty
Copy link
Member

Why

The default view generator in Rails does not include Bootstrap classes and has a poor layout. To make the generator usable out of the box, the Rails template must ship with custom view templates.

  • This story only focuses on the index view.
  • Ensure the template is using the SLIM engine

Who Benefits?

Green field project teams.

@khangbui22 khangbui22 self-assigned this Jan 11, 2024
khangbui22 added a commit that referenced this issue Mar 6, 2024
khangbui22 added a commit that referenced this issue Mar 6, 2024
khangbui22 added a commit that referenced this issue Mar 7, 2024
khangbui22 added a commit that referenced this issue Mar 7, 2024
khangbui22 added a commit that referenced this issue Mar 7, 2024
khangbui22 added a commit that referenced this issue Mar 8, 2024
khangbui22 added a commit that referenced this issue Mar 8, 2024
khangbui22 added a commit that referenced this issue Mar 8, 2024
khangbui22 added a commit that referenced this issue Mar 8, 2024
github-merge-queue bot pushed a commit that referenced this issue Mar 13, 2024
* [#483] Add tests to the CRUD layout

* [#483] Fix the check for slim and erb layout files

* [#492] Update Gemfile to include slim-rails instead of slim

* [#492] Update template code and slim template index file

* [#492] Fix rubocop issue

* [#492] Fix spec test

* [#492] Improve copy_template_files function for easier readability

* [#492] Fix rubocop error

* [#492] Remove unused method

* [#492] Move ThorUtils to a lib

* [#492] Fix rubocop

* [#492] Fix rubocop

---------

Co-authored-by: Xavier MALPARTY <xavier@nimblehq.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants