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

22 lines
837 B
Plaintext
Raw Normal View History

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