change tab titles
This commit is contained in:
parent
b907029673
commit
1796283ace
|
@ -16,13 +16,13 @@
|
||||||
%ul.nav.nav-tabs{role: "tablist"}
|
%ul.nav.nav-tabs{role: "tablist"}
|
||||||
%li.active{role: "presentation"}
|
%li.active{role: "presentation"}
|
||||||
%a{href: "#answers", role: "tab", aria: {controls: "answers"}, data: {toggle: "tab"}}
|
%a{href: "#answers", role: "tab", aria: {controls: "answers"}, data: {toggle: "tab"}}
|
||||||
Answers
|
Most Liked
|
||||||
%li{role: "presentation"}
|
%li{role: "presentation"}
|
||||||
%a{href: "#questions", role: "tab", aria: {controls: "questions"}, data: {toggle: "tab"}}
|
%a{href: "#questions", role: "tab", aria: {controls: "questions"}, data: {toggle: "tab"}}
|
||||||
Questions
|
Most Answers
|
||||||
%li{role: "presentation"}
|
%li{role: "presentation"}
|
||||||
%a{href: "#comments", role: "tab", aria: {controls: "comments"}, data: {toggle: "tab"}}
|
%a{href: "#comments", role: "tab", aria: {controls: "comments"}, data: {toggle: "tab"}}
|
||||||
Most Comments
|
Most Controversial
|
||||||
.tab-content.discover
|
.tab-content.discover
|
||||||
= render 'discover/tab_answers', answers: @popular_answers
|
= render 'discover/tab_answers', answers: @popular_answers
|
||||||
= render 'discover/tab_questions', questions: @popular_questions
|
= render 'discover/tab_questions', questions: @popular_questions
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
New Users
|
New Users
|
||||||
%li{role: "presentation"}
|
%li{role: "presentation"}
|
||||||
%a{href: "#asked", role: "tab", aria: {controls: "asked"}, data: {toggle: "tab"}}
|
%a{href: "#asked", role: "tab", aria: {controls: "asked"}, data: {toggle: "tab"}}
|
||||||
Most Asked Questions
|
Active Askers
|
||||||
%li{role: "presentation"}
|
%li{role: "presentation"}
|
||||||
%a{href: "#answered", role: "tab", aria: {controls: "answered"}, data: {toggle: "tab"}}
|
%a{href: "#answered", role: "tab", aria: {controls: "answered"}, data: {toggle: "tab"}}
|
||||||
Most Answers
|
Most Answers
|
||||||
|
|
Loading…
Reference in New Issue