Sha256: 01bd84b649074ec5be2379b81ae8264ceee284839f7fc1042ec33b4930334fc8

Contents?: true

Size: 630 Bytes

Versions: 1

Compression:

Stored size: 630 Bytes

Contents

= sts.form_for [:admin, @app] do |f|
  = sts.card(title: t('.app'), menu: distribuo_app_menu, icon: 'fad fa-laptop-mobile') do |card|
    - card.action
      = f.submit

    .grid.grid-cols-12.gap-4
      .col-span-12
        - if @app.icon.attached?
          = image_tag(main_app.url_for(@app.icon.variant(resize_to_limit: [32, 32])))
      .col-span-12
        = f.input :name
      .col-span-12
        = f.input :release_type, collection: Distribuo::App::RELEASE_TYPES
      .col-span-12
        = f.input :operating_system, collection: Distribuo::App::OPERATING_SYSTEMS
      .col-span-12
        = f.input :icon, as: :file

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
distribuo-0.1.8 app/views/distribuo/admin/apps/edit.html.slim