Sha256: bc4a695075ab0d73283064d0877ce4975e7436e27500a258a8b39ae102a4d355

Contents?: true

Size: 647 Bytes

Versions: 2

Compression:

Stored size: 647 Bytes

Contents

<div id="_copy">
  <form class="_copy_edit_form" data-content-name="<%= @name %>" action="/_copy/<%= @name %>">
    <% if @doc =~ /\n/  %>
      <textarea name="content"><%=h @doc %></textarea>
    <% else %>
      <input type="text" name="content" value="<%=h @doc %>" />
    <% end %>
    <p class="_copy_footer _copy_footer_left">
      <input class="_copy_submit" type="submit" value="Save" />
      or <a class="_copy_cancel" href="#">cancel</a>
    </p>
    <p class="_copy_footer _copy_footer_right">
      Format text with <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank">markdown</a>.
    </p>
  </form>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
copy-0.1.1 lib/copy/admin/edit.html.erb
copy-0.1.0 lib/copy/admin/edit.html.erb