Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Formtastic cocoon

925 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Formtastic cocoon

  1. 1. Formulários JEDI com Formtastic e Coccon
  2. 2. Formtastic <ul><li>Compatível com o Rails 3
  3. 3. Internacionalização
  4. 4. Relacionamentos: belongs_to, has_many e HABTM
  5. 5. Formulários Aninhados (Nested Forms)
  6. 6. Desenvolvimento Ativo
  7. 7. Não altera os helpers de Formulário do Rails </li></ul>
  8. 8. Formtastic <ul><li>CSS formatastic e formtastic_changes
  9. 9. Initializer/formtastic.rb </li></ul>rails generate formtastic:install
  10. 10. Formtastic <%= semantic_form_for @projeto do |f| %> <%= f.inputs %> <%= f.buttons %> <% end %>
  11. 11. Cocoon <ul><li>Compatível com o Rails 3 +
  12. 12. Nested Forms
  13. 13. Usa jquery
  14. 14. Sem Limite de Nested Forms
  15. 15. Formtastic ou simple_form
  16. 16. Adicionar/Remover FILHOS dinamicamente </li></ul>
  17. 17. Cocoon <ul><li>/javascripts/cocoon
  18. 18. Que deve ser incluido no seu layout </li></ul>rails generate cocoon:install
  19. 19. Allan Freitas <ul><li>Msn: [email_address]
  20. 20. Twitter : allanfreitas
  21. 21. Gtalk: allanfreitasci@gmail.com </li></ul>
  22. 22. Fontes <ul><li>https://github.com/justinfrench/formtastic
  23. 23. https://github.com/nathanvda/cocoon </li></ul>

×