lib/kamerling/views/projects.slim in kamerling-0.0.2 vs lib/kamerling/views/projects.slim in kamerling-0.0.3
- old
+ new
@@ -1,9 +1,15 @@
nav
ul#projects
- projects.each do |project|
li
- a data-uuid=project.uuid href="/projects/#{project.uuid}" rel='project'
+ a(data-class='project' data-uuid=project.uuid
+ href="/projects/#{project.uuid}")
= project.name
form action='/projects' method='POST'
input name='name'
+ input name='uuid' type='hidden' value=Kamerling::UUID.new
+ input type='submit' value='create'
+
+form action='/projects/dispatch' method='POST'
+ input type='submit' value='dispatch'