Skip to content

Instantly share code, notes, and snippets.

@Slavenin
Slavenin / TranslatorExtension.php
Last active May 26, 2017 06:31
Symfony form extrension translator on createView
<?php
namespace KVZBundle\Form\Extension;
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\Translation\TranslatorInterface;
@Slavenin
Slavenin / Field.js
Created April 25, 2017 11:47
render one symfony field with semantic ui
import React, {Component} from 'react'
import { Field as RField } from 'redux-form';
import {
Input,
Checkbox,
Radio,
Select,
TextArea,
Button,
Form
DECLARE @eNum FLOAT
DECLARE @dNum NVARCHAR(10)
DECLARE @tNum FLOAT
DECLARE @level INT
DECLARE @counter INT
DECLARE @t TABLE (
id INT
,eNum FLOAT
,dNum NVARCHAR(10)