Sha256: 50ad1066960c57f5ddd89cbc1d4a6b03dcb1bfa6901a1eca75e3ec946478af5e

Contents?: true

Size: 712 Bytes

Versions: 3

Compression:

Stored size: 712 Bytes

Contents

h2[style="margin-top:0px;"]
  | Edit Config
br
== bootstrap_flash
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
  .form-group
    label[for="post_body"]
      | Body:
    br
    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[id="post_submit" type="submit"]
    | Submit
  |  
  a.btn.btn-danger id="post_delete" data-method="post" data-confirm="true" href=url_for("/posts/#{@post.id}/delete")
    | Delete

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluentd-server-0.3.2 views/posts/edit.slim
fluentd-server-0.3.1 views/posts/edit.slim
fluentd-server-0.3.0 views/posts/edit.slim