Sha256: 851369aef6c1ff615cef7330dfb8f784496937012ef610c9df2d67803ba35f37

Contents?: true

Size: 428 Bytes

Versions: 12

Compression:

Stored size: 428 Bytes

Contents

<% label ||= '㊙️' %>
<%= link_to label, road_crew.engine_settings_path, id: 'road_crew_button', class: 'closed', remote: true %>
<div id="road_crew_container" style="position:fixed; bottom: 0px; right: 0px"></div>
<script type="text/javascript">
window.onload = function() {
  $("#road_crew_button").on("ajax:success", function(e, data, status, xhr) {
    $("#road_crew_container").html(xhr.responseText);
  })
};
</script>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
motorhead-0.5.0 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.4.1 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.4.0 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.9 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.8 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.7 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.6 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.5 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.4 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.3 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.2 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb
motorhead-0.3.1 lib/motorhead/road_crew/app/views/road_crew/_button.html.erb