Sha256: abb7b5de808a160925e0c1888b9a079b67db48591d98068eeff05bf9de956bed
Contents?: true
Size: 583 Bytes
Versions: 56
Compression:
Stored size: 583 Bytes
Contents
<%unless params[:render] == 'modal'%> $('#form').html("<%=j render('edit')%>") <%else%> <%if @saved %> var modal_target = "#modal_new_record." + '<%=@model.name.underscore%>'; $(modal_target).attr('data-saved','true') $(modal_target).attr('data-entity-name','<%=@record.to_s%>') $(modal_target).attr('data-entity-id','<%=@record.id%>') $(modal_target).modal('hide') <%else%> $("#modal_new_record.<%=@model.name.underscore%> .modal-body").html("<%=j render('edit')%>") if(window.hasOwnProperty("atualiza_campos_crud")){ atualiza_campos_crud(); } <%end%> <%end%>
Version data entries
56 entries across 56 versions & 1 rubygems