Sha256: 8806850586d6220f85700dbe3049da0023d79ddbe2ef977dca1872933e0a8f40

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

.block
  .secondary-navigation
    ul.wat-cf
      li.first = link_to t('admin-theme.list'), <%= controller_routing_path %>_path
      li = link_to t('admin-theme.new'), new_<%= singular_controller_routing_path %>_path
      li.active = link_to t('admin-theme.show'), <%= singular_controller_routing_path %>_path

  .content
    h2.title <%= model_name %> ##{@<%= resource_name %>.id}
    .inner
      p
        b
          ' #{t('admin-theme.created_at')}:
        = l @<%= resource_name %>.created_at, :format => :'admin-theme'

      p
        b
          ' #{t('admin-theme.updated_at')}:
        = l @<%= resource_name %>.updated_at, :format => :'admin-theme'

      .wat-cf
        = link_to edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'button' do
          = image_tag('web-app-theme/icons/application_edit.png', :alt => t('admin-theme.edit'))
          = t('admin-theme.edit')

        = link_to <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => 'delete', :class => 'button',
              :data => { :confirm => t('admin-theme.confirm') } do
          = image_tag('web-app-theme/icons/cross.png', :alt => t('admin-theme.delete'))
          = t('admin-theme.delete')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin-theme-1.1.0 lib/generators/admin_theme/resource/templates/slim/view_show.html.slim