Sha256: e04ece3e94e82db1b0e9df1566a918507e0fb8e59282430715a81f407ff2b6e5
Contents?: true
Size: 996 Bytes
Versions: 91
Compression:
Stored size: 996 Bytes
Contents
= content_for(:actions) do = link_to "Add", new_system_message_path, class: :button = within_admin_layout(title: "System Messages") do .system-messages table thead th th th.col-width-tiny Severity th.col-width-date-time Display from th.col-width-date-time Display until th.col-width-tiny Active now tbody - messages.each do |message| tr td = link_to "Edit", edit_system_message_path(message) = pipe_separator = link_to "Delete", system_message_path(message), method: :delete, data: { confirm: I18n.t("prompts.confirm_delete") } td = render message /td= simple_format(message.body) td= message.severity&.humanize td= l(message.display_from) td= l(message.display_until) td= yes_no(message.active?)
Version data entries
91 entries across 91 versions & 1 rubygems