Switching to placeholders and so on

This commit is contained in:
Will Marshall
2014-04-18 13:08:45 +10:00
parent 6753b96f29
commit 5778a51bf6
3 changed files with 2 additions and 4 deletions

View File

@@ -5,5 +5,3 @@ Darkswarm.directive "ofnDisableEnter", ()->
code = e.keyCode || e.which
if code == 13
e.preventDefault()

View File

@@ -23,7 +23,7 @@
.row
.large-9.columns
%input{type: :text, "ng-model" => "query", value: "Search postcode, suburb or hub name...",
%input{type: :text, "ng-model" => "query", placeholder: "Search postcode, suburb or hub name...",
"ofn-disable-enter" => true}
.large-3.columns
Advanced search

View File

@@ -2,7 +2,7 @@ collection Enterprise.is_distributor
attributes :name, :id
child :address do
attributes :city
attributes :city, :zipcode
node :state do |address|
address.state.abbr
end