This file contains hidden or 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
import { Component, OnInit } from '@angular/core'; | |
import { Product } from '../shared/models/character'; | |
import { ProductService } from './character.service'; | |
@Component({ | |
selector: 'product-list', | |
templateUrl: './app/products/product-list.component.html', | |
providers: [ProductService] | |
}) |
This file contains hidden or 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
# ============================================================================== | |
# | |
# SchoolSmart Schedule Import Template for New Milford Public Schools | |
# | |
# Questions? Email us at [email protected] | |
# | |
# ============================================================================== | |
# ------------------------------------------------------------------------------ | |
# |
This file contains hidden or 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
function initMap() { | |
navigator.geolocation.getCurrentPosition(centerMap, locationError); | |
$scope.correctDir = false; | |
var options = { | |
types: [], | |
componentRestrictions: {country: 'co'} | |
}; | |
var input = document.getElementById("address-auto"); | |
var autocomplete = new google.maps.places.Autocomplete(input, options); | |
autocomplete.addListener('place_changed', function() {placeMarker(autocomplete)}); |
This file contains hidden or 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
function loadImageErrorOverride(errEvt) { | |
var pic = errEvt.target; | |
if (!pic.crossOrigin) return print('Failed to reload ' + pic.src + '!'); | |
print('Attempting to reload it as a tainted image now...'); | |
pic.crossOrigin = null, pic.src = pic.src; | |
} | |
function loadImageBypass(URL) { |
This file contains hidden or 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
.stimulus-controller data-controller="obligation" | |
.modal.fade id="obligation-modal" tabindex="-1" role="dialog" aria-labelledby="obligation-modal" | |
.modal-dialog role="document" | |
.modal-content | |
= simple_form_for([current_owner, @financial_obligation], validate: true, input_html: {class: 'default_class', data: {model: 'financial_obligation'}}) do |f| | |
.modal-header | |
h4#obligation-modal-title.modal-title Nueva Obligación | |
button type="button" class="close" data-dismiss="modal" aria-label="Close" | |
span aria-hidden="true" × | |
.modal-body#modal-financial-obligations-body |
This file contains hidden or 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
<form class="simple_form default_class" id="new_financial_obligation" data-model="financial_obligation" novalidate="novalidate" | |
data-client-side-validations= | |
"{"html_settings":{"type":"SimpleForm::FormBuilder","error_class":null,"error_tag":"div","wrapper_error_class":"form-group-invalid","wrapper_tag":"div","wrapper_class":"form-group","wrapper":"vertical_form"},"number_format":{"separator":".","delimiter":","},"validators":{"financial_obligation[holder_id]":{"presence":[{"message":"debe existir"}]},"financial_obligation[financial_entity_id]":{"presence":[{"message":"no puede estar en blanco"}]},"financial_obligation[financial_product_id]":{"presence":[{"message":"no puede estar en blanco"}]} |