Skip to content

Instantly share code, notes, and snippets.

View matuszeman's full-sized avatar

Matus Zeman matuszeman

  • Kapitchi
  • Slovakia
View GitHub Profile
@matuszeman
matuszeman / designer.html
Last active September 2, 2015 18:22
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
@matuszeman
matuszeman / gist:b797d9c70a4ce9e0974a
Created August 19, 2014 14:38
renderEntity and renderCollection.entity examples
<?php
//...
class Module implements ApigilityProviderInterface
{
public function onBootstrap($e)
{
$app = $e->getTarget();
$form = $this->getServiceLocator()->get('KapitchiAuction\Form\Auction');
$form->setName('auction');
$form->prepare();
<form action="/auction/auction/create" method="POST" name="auction" id="auction"><dl class="zend_form"><dt><label for="[refNumber]">Variabilny symbol</label></dt><dd><input name="[refNumber]" type="text"></dd><dt><label for="[state]">Stav</label></dt><dd><select name="[state]"></select></dd></dl><input type="submit" value="Save">
</form>