views/posts/edit.slim in fluentd-server-0.2.0 vs views/posts/edit.slim in fluentd-server-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
h2[style="margin-top:0px;"]
| Edit Config
br
== bootstrap_flash
-form action=url_for("/posts/#{@post.id}") method="post"
+form id="post_form" action=url_for("/posts/#{@post.id}") method="post"
.form-group
label[for="post_name"]
| Name:
br
input id="post_name" class="form-control" name="post[name]" type="text" value=@post.name
@@ -15,10 +15,10 @@
textarea#post_body.form-control[name="post[body]" rows="10"]
= @post.body
br
a href=url_for("/api/#{@post.name}")
| Render
- button.btn.btn-success[type="submit"]
+ button.btn.btn-success[id="post_submit" type="submit"]
| Submit
|
- a.btn.btn-danger data-method="post" data-confirm="true" href=url_for("/posts/#{@post.id}/delete")
+ a.btn.btn-danger id="post_delete" data-method="post" data-confirm="true" href=url_for("/posts/#{@post.id}/delete")
| Delete