Skip to content

Instantly share code, notes, and snippets.

Joseph A. matedemorphy

Block or report user

Report or block matedemorphy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View form.html
<form class="simple_form default_class" id="new_financial_obligation" data-model="financial_obligation" novalidate="novalidate"
data-client-side-validations=
"{&quot;html_settings&quot;:{&quot;type&quot;:&quot;SimpleForm::FormBuilder&quot;,&quot;error_class&quot;:null,&quot;error_tag&quot;:&quot;div&quot;,&quot;wrapper_error_class&quot;:&quot;form-group-invalid&quot;,&quot;wrapper_tag&quot;:&quot;div&quot;,&quot;wrapper_class&quot;:&quot;form-group&quot;,&quot;wrapper&quot;:&quot;vertical_form&quot;},&quot;number_format&quot;:{&quot;separator&quot;:&quot;.&quot;,&quot;delimiter&quot;:&quot;,&quot;},&quot;validators&quot;:{&quot;financial_obligation[holder_id]&quot;:{&quot;presence&quot;:[{&quot;message&quot;:&quot;debe existir&quot;}]},&quot;financial_obligation[financial_entity_id]&quot;:{&quot;presence&quot;:[{&quot;message&quot;:&quot;no puede estar en blanco&quot;}]},&quot;financial_obligation[financial_product_id]&quot;:{&quot;presence&quot;:[{&quot;message&quot;:&quot;no puede estar en blanco&quot;}]}
View form.html.slim
.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" &times;
.modal-body#modal-financial-obligations-body
View loadImageBypass.js
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) {
View map.js
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)});
View 2016_winter_hps_clappv_03
# ==============================================================================
#
# SchoolSmart Schedule Import Template for New Milford Public Schools
#
# Questions? Email us at team@getschoolsmart.com
#
# ==============================================================================
# ------------------------------------------------------------------------------
#
View product-list.component.js
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]
})
You can’t perform that action at this time.