Sha256: 40f3de10ff58073993a85b0004e990632246b54f6ef060f357a857736ec94722

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

<%= semantic_form_for @snippet, :url => "#{woa_snippets_url}/#{(@snippet.id ? @snippet.id : '')}", :validate => true do |f| %>
	<%= f.inputs do %>
		<%= f.input :slug %>
		Snippet Content*:
		<div style="padding-top:4px;">
			<%= f.input :body, :label => false, :as => :text %>
		</div>
	<% end %>
	<div style="clear:both;display:block;margin-top:10px;margin-bottom:10px;">
		<%= f.buttons do %>
			<%= f.commit_button %>
		<% end %>
	</div>
<% end %>
<script>
	$(document).ready(function() {
		$("textarea").cleditor({
			width: "98%"
		});
	});
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wizard_of_awes-0.0.2 app/views/woa/snippets/_form.html.erb
wizard_of_awes-0.0.1 app/views/woa/snippets/_form.html.erb