Sha256: 5d74801ec20fd118ce386c00da20594a7607b3b930ed19cdbca8f7aca70b3db7
Contents?: true
Size: 835 Bytes
Versions: 3
Compression:
Stored size: 835 Bytes
Contents
===entity_code=== <%%= <%= 'nested_' if @model.nested_many? %>form_for(<%= @model.to_route_object('@') %><%= ", :remote => true, :html => {:class => :mdwa_ajax #{',:multipart => true' if @model.attributes.select{|attr| attr.type.to_sym == :file}.count.zero?}}" if @entity.ajax %>) do |f| %> <div id="mdwa_error"> <%%= render '/template/mdwa/crud_error', :object => @<%= @model.singular_name %> %> </div> <div class="yui3-g"> <div class="yui3-u"> <%%= render 'form_fields', :f => f %> </div> </div> <div class="actions"> <%- if !@entity.ajax -%> <%%= link_to t('system.cancel_button'), <%= @model.object_name.pluralize %>_path, :class => :cancel %> <%- else -%> <%%= link_to t('system.cancel_button'), '#', :class => :cancel %> <%- end -%> <%%= f.submit :class => :button %> </div> <%% end %>
Version data entries
3 entries across 3 versions & 1 rubygems