- Clone this repository.
- Install the bootstrap-sass gem.
- Install the font-awesome-sass gem.
- Scaffold Todo model:
- content:string.
- complete:boolean.
- Install the faker gem.
- Write a seeds file to create 100 todos (use
Faker::Hacker.say_something_smart). - Set the default ordering of todos to "created_at DESC".
- Improve the Todos#index view:
- Use a Bootstrap panel with list-group to contain all todos.
- Extract the markup for an individual todo to a partial.
- Use Bootstrap button classes on links.
- Replace link text with font-awesome icons (use the
icon()helper). - If a todo is complete, strikethrough the content.
- Add an inline form to the top of the page to add new todos.
- Extract the form to a partial.
-
Notifications
You must be signed in to change notification settings - Fork 0
ssw15/my_todos_final
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published