Sha256: 9b101b8407558160c6d84e243a6b040e2f0464b4665adeaee913bcb70b7bf23b

Contents?: true

Size: 218 Bytes

Versions: 3

Compression:

Stored size: 218 Bytes

Contents

<% if object.content? %>
	<% 
		type = object.type.to_s == 'info' ? 'notice' : object.type 
		type ||= 'notice'
	%>
	<%= content_tag :div, object.content, object.merge_html_attributes(:class => " #{type}") %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crystal-ext-0.0.3 lib/common_interface/app/views/themes/simple_organization/basic/_message_t.html.erb
crystal-ext-0.0.2 lib/common_interface/app/views/themes/simple_organization/basic/_message_t.html.erb
crystal-ext-0.0.1 lib/common_interface/app/views/themes/simple_organization/basic/_message_t.html.erb