Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
91 lines (78 sloc) 2.89 KB
<div class="row col-md-12" style="padding:2em;">
<div class="col-md-5">
<div class="profile-image text-center">
<img class="rounded-circle img-fluid" style= "width:40%;" id="profile-photo" src="" />
<h6 class="mt-2 text-center"><strong>@publiclab</strong><h6>
<div class="col-md-7" style="text-align: left;">
<h5>Get help with your Questions</h5>
<h2>Ask the community</h2>
<p style="color: #666">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<a href="" style="text-decoration: underline;">Learn More >></a>
<div class="question-area col-md-12">
<div class= "question-header">
<h5>What's your question?</h5>
<% if !current_user %>
<p>To ask a question, please <a href="/login?return_to=/questions">log in</a> or <a href="/signup?return_to=/questions">sign up</a> first.</p>
<% end %>
<div class= "question-form">
<form id="questions_searchform" role="search" autocomplete="off" action="/post">
<div class="input-group">
<textarea tabindex="1" id="questions_searchform_input" type="text" name="title" class="<%= "disabled " if !current_user %>form-control search-query typeahead" qryType="questions" placeholder="type your question"></textarea>
<input type="hidden" name="tags" value="question:general">
<input type="hidden" name="template" value="question">
<input type="hidden" name="redirect" value="question">
<div class="input-group-append" style="padding-bottom:15px;">
<button id="question_search" type="submit" rel="tooltip" title="Ask a question with the entered title" class="btn btn-primary">Continue</button>
<div class="FeaturedQuestions col-md-12">
<span class="d-none d-lg-inline"><h2>Featured questions </h2></span>
<span><h6>see some of the great questions people have asked, and get a feel for how it works
<%= render partial: "questions/questions_shadow" %>
<div class="RecentQuestions col-md-12">
<span class="d-none d-lg-inline"><h2>Recent questions </h2></span>
<%= render partial: "questions/recent_questions_shadow" %>
background-color: #F5F5F5;
height: 300px;
border-radius: 10px;
.question-header, .question-form{
text-align: center;
padding-top: 20px;
padding-bottom: 20px;
padding-bottom: 15px;
float: right;
textarea {
resize: none;
height: 170px;
.FeaturedQuestions, .RecentQuestions{
text-align: center;
margin-top: 3em;
You can’t perform that action at this time.