39 lines
412 B
Plaintext
39 lines
412 B
Plaintext
#prescriptions_big_container
|
|
#sidebar
|
|
|
|
|
|
=render :partial => "admin/prescriptions/prescriptions"
|
|
|
|
|
|
|
|
|
|
- if @prescription
|
|
=render :partial => "show"
|
|
-else
|
|
#prescription_place
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:javascript
|
|
|
|
|
|
|
|
function updatePrescriptions(){
|
|
|
|
$.ajax({url : "/admin/prescriptions.js"});
|
|
|
|
}
|
|
|
|
|
|
setInterval( "updatePrescriptions()", 15000 );
|
|
|
|
|
|
|
|
|
|
set_prescriptions_big_container_size();
|
|
|