Sha256: 6ee2b0dd8ba98ae4b3962b1427ac83835421c6ca5545e29b7af64ccd2ba4a7b9
Contents?: true
Size: 933 Bytes
Versions: 3
Compression:
Stored size: 933 Bytes
Contents
<div class="edit-bl"> <div class="bot-bg"> <div class="block-title"><%%= t('manage.edit') %>:</div> <%%= form_for @<%= singular_name %>, :as => :<%= singular_name %>, :url => manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id, @<%= singular_name %>.id), :html=>{:multipart=>true, :method=>:put, :id=>'<%= singular_name %>_form'} do |f| -%> <%%= render :partial=>"manage/<%= plural_name %>/form", :object=>f %> <div style="padding: 20px 0px 10px 20px;" class="buts"> <%%= link_to_function content_tag(:span, t('manage.update')), "$('#<%= singular_name %>_form').submit()", :class=>"gr" %> <%%= link_to t('manage.cancel'), manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"erase" %> <%%= f.submit t('manage.update'), :style=>"display:none;" %> </div> <%% end %> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems