Sha256: 160cfcc7c5cffaca494641eaea523c897b98d3c91f9fed1109f077a09f424279
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 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 %> <%%= render :partial => "/shared/admin/form_actions", :locals => {:f => f, :continue_editing => false} %> <%% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-0.9.5.13 | vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb |