Sha256: 87635f25cb3a6680074fcde9508fb434072176d38f9f32236ccc15933a6532ce
Contents?: true
Size: 1.49 KB
Versions: 34
Compression:
Stored size: 1.49 KB
Contents
- @page_title = t('workarea.admin.content_assets.new.page_title') .view .view__header .grid.grid--middle.grid--center .grid__cell.grid__cell--50 .view__heading = link_to_index_for(@asset) %h1= t('workarea.admin.content_assets.new.title') .view__container - if @asset.errors.present? - @asset.errors.full_messages.each do |message| = render_message 'error', message = form_tag content_assets_path, method: 'post', multipart: true, id: 'asset_form', data: { unsaved_changes: '' } do .section .property = label_tag 'asset_name', t('workarea.admin.fields.name'), class: 'property__name' = text_field_tag 'asset[name]', @asset.name, class: 'text-box' .property = label_tag 'asset[file]', t('workarea.admin.fields.file'), class: 'property__name' = file_field_tag 'asset[file]', required: true .property = label_tag 'asset_tag_list', t('workarea.admin.fields.tags'), class: 'property__name' = text_field_tag 'asset[tag_list]', @asset.tag_list, class: 'text-box' %span.property__note= t('workarea.admin.content_assets.new.tags_note') .workflow-bar .grid.grid--auto.grid--right.grid--middle .grid__cell= button_tag t('workarea.admin.content_assets.new.create_asset'), value: 'create_asset', class: 'workflow-bar__button workflow-bar__button--create', data: { disable_with: t('workarea.admin.content_assets.new.create_asset_disabled_text') }
Version data entries
34 entries across 34 versions & 1 rubygems