Sha256: a36dc2ad8b253e127f1c22c97e63a57ec2f7f6c24bb089f97fd95389e36617a8

Contents?: true

Size: 629 Bytes

Versions: 19

Compression:

Stored size: 629 Bytes

Contents

<%%= error_messages_for :<%= singular_name %> %>
<%% form_for [:admin, @<%= singular_name %>] do |f| %>
	<% attributes.each do |attribute| -%>
<div class='field'>
		<%%= f.label :<%= attribute.name %> %>
		<% if attribute.field_type.to_s == "text_area" %>
		  <%%= f.text_area :<%= attribute.name %>, :rows => 20, :cols => 140, :class => 'wymeditor' %>
		<% else %>
      <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
    <% end %>
  </div>
	<% end -%>
<div class='form-actions'>
    <%%= f.submit 'Save', :class => "wymupdate" %> 
		or 
		<%%= link_to "Cancel", admin_<%= plural_name %>_url %>
	</div>
<%% end -%>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
refinerycms-0.9.5.4 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.5.3 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.5.2 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.5.1 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.5 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4.5 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4.4 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4.3 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4.2 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4.1 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.4 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.3 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.2.2 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.2.1 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.2 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.1.2 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.1.1 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.1 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb
refinerycms-0.9.0 vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb