2014-01-21 04:51:49 +00:00
|
|
|
.leftlist= f.label :body_ru, t("activerecord.attributes.flash_notify.body_ru"), class: :label
|
|
|
|
.rightlist= f.text_area :body_ru, class: 'text_field'
|
2012-07-23 15:25:37 +01:00
|
|
|
.both
|
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
.leftlist= f.label :body_en, t("activerecord.attributes.flash_notify.body_en"), class: :label
|
|
|
|
.rightlist= f.text_area :body_en, class: 'text_field'
|
2012-07-23 15:25:37 +01:00
|
|
|
.both
|
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
.leftlist= f.label :status, t("activerecord.attributes.flash_notify.status"), class: :label
|
2012-07-23 15:25:37 +01:00
|
|
|
.rightlist= f.select :status, FlashNotify::STATUSES
|
|
|
|
.both
|
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
.leftlist= f.label :published, t("activerecord.attributes.flash_notify.published"), class: :label
|
2012-07-23 15:25:37 +01:00
|
|
|
.rightlist= f.check_box :published
|
|
|
|
.both
|
|
|
|
|
|
|
|
.button_block
|
2014-01-21 04:51:49 +00:00
|
|
|
= submit_tag t('layout.save'), data: {'disable-with' => t('layout.saving')}
|
2012-07-23 15:25:37 +01:00
|
|
|
%span.text_button_padding= t("layout.or")
|
2014-01-21 04:51:49 +00:00
|
|
|
= link_to t("layout.cancel"), admin_flash_notifies_path, class: "button"
|
2012-07-23 15:25:37 +01:00
|
|
|
|