Sha256: 6a79602484cb483743ac4ebb3c08526fae69d7038da679906a4e3e68318aae5f
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
Contents
<% class_name = '' unless local_variables.include? :class_name position_classes = comp.position.map {|p| "v-button-icon-position-#{p}"}.join(' ') event_parent_id = nil unless local_variables.include? :event_parent_id data_attributes = '' unless local_variables.include? :data_attributes %> <button id="<%= comp.id %>" <%= data_attributes %> data-disabled-on-post-finished="<%= comp.disabled_on_post_finished %>" class="v-button v-button--icon mdl-button mdl-js-button mdl-button--icon <%= 'v-hidden' if comp.hidden %> <%=class_name%> <%= position_classes %> <%= 'v-menu-click' if comp.menu%>" style = "<%= color_style(comp) %>" <%= 'disabled' if comp.disabled %> <%= "type='#{eq(comp.button_type, :raised) ? 'submit' : 'button'}'" %> <%= erb :'components/event', :locals => {comp: comp, events: comp.events, parent_id: event_parent_id || comp.event_parent_id} %>> <%= erb :'components/icon', :locals => {comp: comp.icon} %> <%= comp.text %> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %> </button> <%= erb :"components/menu", :locals => {comp: comp.menu, parent_id: comp.id} %>
Version data entries
6 entries across 6 versions & 1 rubygems