how about some updated design for this
This commit is contained in:
parent
e37907f948
commit
a259c19ef0
|
@ -1,6 +1,7 @@
|
||||||
.container.j2-page
|
.container.j2-page
|
||||||
/ TODO: make this pretty (it's currently C-c'd straight from shared/_answerbox)
|
/ TODO: make this pretty (it's currently C-c'd straight from shared/_answerbox)
|
||||||
.panel-heading
|
.panel.panel-default
|
||||||
|
.panel-body
|
||||||
.media
|
.media
|
||||||
- unless @question.author_is_anonymous
|
- unless @question.author_is_anonymous
|
||||||
%a.pull-left{href: show_user_profile_path(@question.user.screen_name)}
|
%a.pull-left{href: show_user_profile_path(@question.user.screen_name)}
|
||||||
|
@ -14,8 +15,9 @@
|
||||||
%p.answerbox--question-text= @question.content
|
%p.answerbox--question-text= @question.content
|
||||||
|
|
||||||
- if user_signed_in? and !current_user.answered? @question
|
- if user_signed_in? and !current_user.answered? @question
|
||||||
#q-answer-box
|
.panel.panel-default#q-answer-box
|
||||||
Add your Senf here:
|
.panel-heading
|
||||||
|
%h3.panel-title This question was not in your inbox? Answer it here!
|
||||||
.panel-body
|
.panel-body
|
||||||
%textarea#q-answer.form-control{placeholder: 'Write your answer here...', data: { id: @question.id }}
|
%textarea#q-answer.form-control{placeholder: 'Write your answer here...', data: { id: @question.id }}
|
||||||
%br/
|
%br/
|
||||||
|
|
Loading…
Reference in New Issue