Sha256: 883d78cebd4a2127bd9288493737936b383e35f2658ca20b65d856e6dc955a5e
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 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')%>") <%end%> <%end%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
templus_models-1.4.2 | app/views/crud/create.js.erb |