Skip to content

Instantly share code, notes, and snippets.

acrolink

Block or report user

Report or block acrolink

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
@acrolink
acrolink / index.html
Created Mar 1, 2018 — forked from TahaSh/index.html
Reusable Autocomplete-Input Component in Vue 2.1
View index.html
<title>Vue Awesome Autocomplete</title>
<link rel="stylesheet" href="https://unpkg.com/bulma/css/bulma.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<div id="app">
<autocomplete-input
:options="options"
@select="onOptionSelect"
@acrolink
acrolink / index.html.eex
Last active Jan 4, 2017
Filtering results in Phoenix using an exposed filters' form
View index.html.eex
<h2>Listing policies</h2>
<form action="/policies" method="get">
<%= select nil, :client_id, @clients, name: 'client_id' %>
<input type="submit" value="Submit">
</form>
<%= pagination_links @page %>
<!-- HTML displaying the data rows -->
You can’t perform that action at this time.