Sha256: eb112a9304e12f0a0ced49b8383ee394b176f0f9fa5e650e8cc1d08d66f20163

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

<div class="page-header">
  <h1>Editing Content Section <small><%= @fragment.name %></small></h1>
</div>

<form action="/ms-admin/fragments/<%= @fragment.name %>/update" method="post">
<textarea id="textile" class="markitup" cols="800" rows="20" name="page[content]"><%= RDiscount.new(@fragment.content, :filter_html, :smart).text.gsub("&", "&amp;").gsub("<", "&lt;") %></textarea>
<p><input type="submit" value="Publish Changes" class="btn btn-primary" /> </p>
</form>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
milksteak-0.0.15 lib/views/admin/fragments/edit.erb