/
_block_nav.html.erb
42 lines (42 loc) · 1.37 KB
/
_block_nav.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<%= pb_rails("nav", props: {title: "Users", link: "#"}) do %>
<%= pb_rails("nav/item", props: { link: "#", active: true }) do%>
<%= pb_rails("user", props: {
name: "Anna Black",
territory: "PHL",
title: "Remodeling Consultant",
orientation: "horizontal",
align: "left",
avatar_url: "https://randomuser.me/api/portraits/women/44.jpg"
}) %>
<% end %>
<%= pb_rails("nav/item", props: { link: "#" }) do%>
<%= pb_rails("user", props: {
name: "Julie Hamilton",
territory: "PHL",
title: "Inside Sales Agent",
orientation: "horizontal",
align: "left",
avatar_url: "https://randomuser.me/api/portraits/women/45.jpg"
}) %>
<% end %>
<%= pb_rails("nav/item", props: { link: "#" }) do%>
<%= pb_rails("user", props: {
name: "Dennis Wilks",
territory: "PHL",
title: "Senior Remodeling Consultant",
orientation: "horizontal",
align: "left",
avatar_url: "https://randomuser.me/api/portraits/men/44.jpg"
}) %>
<% end %>
<%= pb_rails("nav/item", props: { link: "#" }) do%>
<%= pb_rails("user", props: {
name: "Ronnie Martin",
territory: "PHL",
title: "Customer Development Representative",
orientation: "horizontal",
align: "left",
avatar_url: "https://randomuser.me/api/portraits/men/46.jpg"
}) %>
<% end %>
<% end %>