2015-02-24 18:03:33 -05:00
|
|
|
snippet %
|
|
|
|
<% ${0} %>
|
2015-03-16 19:06:58 -04:00
|
|
|
|
2015-02-24 18:03:33 -05:00
|
|
|
snippet =
|
2015-03-16 19:06:58 -04:00
|
|
|
<%= ${0} %>
|
|
|
|
|
2015-02-24 18:03:33 -05:00
|
|
|
snippet end
|
|
|
|
<% end %>
|
2015-03-16 19:06:58 -04:00
|
|
|
|
|
|
|
snippet ft
|
|
|
|
<%= form_tag(${1:"/users"}, method: ${2::post}) %>
|
|
|
|
${0}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
snippet lin
|
2015-03-19 06:27:33 -04:00
|
|
|
<%= link "${1:Submit}", to: ${2:"/users"}, method: ${3::delete} %>
|
2015-03-16 19:30:02 -04:00
|
|
|
|
|
|
|
snippet ff
|
|
|
|
<%= form_for @changeset, ${1:"/users"}, fn f -> %>
|
|
|
|
${0}
|
|
|
|
|
|
|
|
<%= submit "Submit" %>
|
|
|
|
<% end %>
|