div id="#{dom_id(@question)}" .row .col-md-10 dl.row dt.col-sm-2 = Helena::Question.human_attribute_name :position dd.col-sm-10 = @question.position dt.col-sm-2 = Helena::Question.human_attribute_name :code dd.col-sm-10 = @question.code dt.col-sm-2 = Helena::Question.human_attribute_name :question_text dd.col-sm-10 = @question.question_text dt.col-sm-2 = Helena::Question.human_attribute_name :type dd.col-sm-10 = @question.class.model_name.human dt.col-sm-2 = Helena::Question.human_attribute_name :created_at dd.col-sm-10 = distance_of_time_in_words_to_now(@question.created_at) .col-md-2 .pull-right = link_to [:edit, @survey, @version, @question_group, @question], class: "btn btn-dark #{'disabled' if @version.active}", role: 'button' do i.fa.fa-edit = t('shared.actions.edit') = link_to [@survey, @version, @question_group, @question] , class: "btn btn-danger #{'disabled' if @version.active}", method: :delete, data: { confirm: t('shared.actions.ask_for_deletion') } do i.fa.fa-trash = t('shared.actions.delete')