Sha256: 1c17a88400d044360e53e04c116fa50bc2023950529ff5b8f8d41e08f99134d4

Contents?: true

Size: 403 Bytes

Versions: 11

Compression:

Stored size: 403 Bytes

Contents

<h1><%= @post.title %></h1>

<form method="post">
  <p>
    <textarea style="width:100%" name="data" rows="20"><%= @post.dump %></textarea>
  </p>
  <p>
    <input type="submit" value="Save"/>
  </p>
</form>

<% if @post.type == 'md' %>
  <script type="text/javascript">
    wmd_options = { output: "Markdown" };
  </script>
  <script type="text/javascript" src="/assets/wmd/wmd.js"></script>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
georgi-shinmun-0.3.1 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.10 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.2 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.3 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.4 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.5 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.6 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.7 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.8 example/templates/admin/edit.rhtml
georgi-shinmun-0.3.9 example/templates/admin/edit.rhtml
georgi-shinmun-0.3 example/templates/admin/edit.rhtml