views/mdc/components/buttons/fab.erb in voom-presenters-0.1.8 vs views/mdc/components/buttons/fab.erb in voom-presenters-0.1.9

- old
+ new

@@ -1,12 +1,9 @@ <% class_name = '' unless local_variables.include? :class_name position_classes = comp.position.map {|p| "v-button-fab-position-#{p}"}.join(' ') %> -<% if comp.menu %> - <div class="mdc-menu-anchor" %> -<% end %> <button id="<%= comp.id %>" class="mdc-fab material-icons v-fab--absolute v-js-ripple-button <%= class_name %> <%= position_classes %> <%= 'mdc-fab--mini' if eq(comp.size, :small) %>" aria-label="<%= inflector.humanize(comp.icon.icon) %>" <%= 'disabled' if comp.disabled %> @@ -15,8 +12,5 @@ <%= comp.icon.icon %> </span> </button> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %> <%= erb :"components/menu", :locals => {comp: comp.menu, parent_id: comp.id} %> -<% if comp.menu %> - </div> -<% end %> \ No newline at end of file