Sha256: 27474545fe8bc921d880977f859a18cad5848297c5f3c308fb812c2f46c2d32e

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

<div id="_copy">
  <form class="_copy_edit_form" data-content-name="<%= @name %>" action="/_copy/<%= @name %>">
    <% if @doc =~ /\n/ || @doc.length > 40 %>
      <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

4 entries across 4 versions & 1 rubygems

Version Path
copy-0.1.5 lib/copy/admin/edit.html.erb
copy-0.1.4 lib/copy/admin/edit.html.erb
copy-0.1.3 lib/copy/admin/edit.html.erb
copy-0.1.2 lib/copy/admin/edit.html.erb