Sha256: e4bf57ba85f7dbda198929fc038caa6c29b10e598063a5b99d1b38c6c1658c21

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

- if params[:q].present?
  = render 'list'
- else
  .alert.alert-warning
    %p
      %h3= t('view.there_is_no_data', resource: City.model_name.human.downcase)
      = link_to new_hq_city_path, class: 'btn btn-primary' do
        = t('action_button.new', resource_name: City.model_name.human)
        = t('btn.add')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-1.9.2 templates/app/views/hq/cities/_blank.html.haml
cybele-1.9.1 templates/app/views/hq/cities/_blank.html.haml
cybele-1.9.0 templates/app/views/hq/cities/_blank.html.haml