Skip to content

Instantly share code, notes, and snippets.

@mattahorton
mattahorton / index.html
Created February 17, 2014 16:07
Attempt at Julien Knebel's Ember CRUD
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>App</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
@mattahorton
mattahorton / input-chosen-ember-component.js
Last active August 29, 2015 13:58 — forked from andriybuday/input-chosen-ember-component.js
A single-select version of andriybuday's multiple-select Ember Chosen.js component
App.InputChosenComponent = Ember.Component.extend(
init: ->
@_super()
return
# view properties
labelClasses: (->
@get("labelClass") + " control-label"
).property("labelClass")
inputContainerClasses: (->
/* Put your CSS here */
html, body {
margin: 20px;
}
.table-container {
height: 600px;
}