<%= script.name %> <%= script.stage %> <%= script.lang %>
<%= button_to "View", script_path(script), method: :get, class: "button is-small is-success"%> <%= button_to "Edit", edit_script_path(script), method: :get, class: "button is-small is-primary" %> <% if ! script.lock %> <%= button_to "Delete", script_path(script), method: :delete, class: "button is-small is-danger" %> <% end %>