2012-07-23 15:25:37 +01:00
|
|
|
.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
|
2013-07-24 21:29:28 +01: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")
|
2012-07-25 19:05:25 +01:00
|
|
|
= link_to t("layout.cancel"), admin_flash_notifies_path, :class => "button"
|
2012-07-23 15:25:37 +01:00
|
|
|
|