Sha256: 502e731d6aca4e3c63794a7246d8c866222c9181a9e62ffc0f4f8e30e77a738d
Contents?: true
Size: 1.44 KB
Versions: 4
Compression:
Stored size: 1.44 KB
Contents
table.table.table-striped thead tr th.position width='1%' # th.name = Helena::Survey.human_attribute_name(:name) th.lanugage width='20%' = Helena::Survey.human_attribute_name(:language) th.created_at width='10%' = Helena::Survey.human_attribute_name(:created_at) th width='20%' = link_to new_survey_path, class: 'btn btn-dark pull-right', role: 'button' do i.fa.fa-plus-square = t('shared.actions.new') = link_to new_import_survey_path, class: 'btn btn-dark pull-right', role: 'button' do i.fa.fa-caret-square-o-up = t('.import') tbody - @surveys.each do |survey| tr id="#{dom_id(survey)}" td.position = survey.position td.name = link_to survey.name, survey_path(survey) td.language = survey.language td.create_at = distance_of_time_in_words_to_now(survey.created_at) td.actions .pull-right = link_to survey, class: 'btn btn-default', role: 'button' do i.fa.fa-angle-right = t('shared.actions.view') = link_to edit_survey_path(survey), class: 'btn btn-default', role: 'button' do i.fa.fa-edit = t('shared.actions.edit') = link_to survey, class: 'btn btn-danger', method: :delete, data: { confirm: t('shared.actions.ask_for_deletion') } do i.fa.fa-trash = t('shared.actions.delete')
Version data entries
4 entries across 4 versions & 1 rubygems