rosa-build/app/views/admin/flash_notifies/_form.html.haml

22 lines
813 B
Plaintext

.leftlist= f.label :body_ru, t("activerecord.attributes.flash_notify.body_ru"), class: :label
.rightlist= f.text_area :body_ru, class: 'text_field'
.both
.leftlist= f.label :body_en, t("activerecord.attributes.flash_notify.body_en"), class: :label
.rightlist= f.text_area :body_en, class: 'text_field'
.both
.leftlist= f.label :status, t("activerecord.attributes.flash_notify.status"), class: :label
.rightlist= f.select :status, FlashNotify::STATUSES
.both
.leftlist= f.label :published, t("activerecord.attributes.flash_notify.published"), class: :label
.rightlist= f.check_box :published
.both
.button_block
= submit_tag t('layout.save'), data: {'disable-with' => t('layout.saving')}
%span.text_button_padding= t("layout.or")
= link_to t("layout.cancel"), admin_flash_notifies_path, class: "button"