Sha256: d58d6b6b536e9226f86ad78ca6ae33ad9e4b4cae061f2cd011808a2fb3aa06fe

Contents?: true

Size: 692 Bytes

Versions: 4

Compression:

Stored size: 692 Bytes

Contents

<h1>Listing posts</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Body</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @posts.each do |post| %>
  <tr>
    <td><%= post.name %></td>
    <td><%= post.body %></td>
    <td><%= link_to 'Show', post %></td>
    <td><%= link_to 'Edit', edit_post_path(post) %></td>
    <td><%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Post', new_post_path %>

<%= ueditor_text_tag 'test0' %>
<%= ueditor_text_tag 'test1', 'text here', :id => 'xxxx', :width => 500, :toolbars => [["bold","italic","underline"]] %>
<%= ueditor_text_tag 'test2', 'text here' %>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ueditor_rails4-0.0.5 test/dummy/app/views/posts/index.html.erb
ueditor_rails-0.0.4 test/dummy/app/views/posts/index.html.erb
ueditor_rails-0.0.2 test/dummy/app/views/posts/index.html.erb
ueditor_rails-0.0.1 test/dummy/app/views/posts/index.html.erb