This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% title @item.nombre %> | |
<% meta_tag :title, "#{@item.nombre} /\nL. #{@item.price} | Chunches" %> | |
<% meta_tag :description, @item.descripcion %> | |
<% meta_tag :image, @item.imagen %> | |
<% meta_tag :type, "product" %> | |
<% meta_tag :url, "http://test.chunch.es/garaje/items/#{@item.id.to_s}" %> | |
<% meta_tag :appid, "482141061981612" %> | |
<div class="container-fluid"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
chunchesnet: | |
services: | |
webserver: | |
image: "phusion/passenger-ruby26:latest" | |
depends_on: | |
- db1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if current_doctor %> | |
<!--Ficha va aqui--> | |
<%conversation = current_member.mailbox.conversations.find(params[:id])%> | |
<div class="jumbotron"> | |
<h1>Informacion de Paciente</h1> | |
<p>Edad: <%=@user.age%></p> | |
<p>Resumen del paciente: </p> | |
<p><%=@user.username%></p> | |
<p> Ingresar notas: </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if current_doctor %> | |
<!--Ficha va aqui--> | |
<%conversation = current_member.mailbox.conversations.find(params[:id])%> | |
<div class="jumbotron"> | |
<h1>Informacion de Paciente</h1> | |
<p>Edad: <%=@user.age%></p> | |
<p>Resumen del paciente: </p> | |
<p><%=@user.username%></p> | |
<p> Ingresar notas: </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if current_doctor %> | |
<!--Ficha va aqui--> | |
<div class="jumbotron"> | |
<h1>Informacion de Paciente</h1> | |
<p>Edad: <%=@user.age%></p> | |
<p>Resumen del paciente: </p> | |
<p><%=@user.username%></p> | |
<p> Ingresar notas: </p> | |
<div class="container"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Accessible | |
extend ActiveSupport::Concern | |
included do | |
before_action :check_user | |
end | |
protected | |
def check_user | |
if current_doctor | |
flash.clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# == Schema Information | |
# | |
# Table name: chats | |
# | |
# id :bigint not null, primary key | |
# message :string(255) | |
# created_at :datetime not null | |
# updated_at :datetime not null | |
# room_id :integer | |
# user_id :string(255) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChatsController < ApplicationController | |
def new | |
@chat = Chat.new | |
end | |
def index | |
@chat = Chat.new | |
@room = Room.new | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int acum_help=0; | |
int acum_unhelp=0; | |
int question_id=0; | |
int question_id_starter=0; | |
for (int i = 0 ;i < table.rowlength; i++ ) | |
if(i=0) | |
question_id_starter = row.question_id | |
endif | |
if (row.is_useful = 1)&& (question_id_starter==row.questionid) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$('#star').raty(); | |
$('.star-rating').raty({ | |
path: '/images/black', | |
readOnly: true, | |
score: function() { | |
return $(this).attr('data-score'); | |
} | |
}); | |
</script> |
NewerOlder