Commit e932960b authored by patrick.hodapp's avatar patrick.hodapp
Browse files

Update app/views/samples/_show.html.erb

parent f3760461
......@@ -55,16 +55,6 @@ $(document).ready(function(){
<%end%>
</tbody>
</table>
<%if @sample.status == "in preparation" %>
<div class='absolute'><%=link_to (@sample.status ? "Submit for Measurement" : "No"),
Measured_sample_path(@sample), :action => 'solve', :class => 'btn btn-block btn-success' %>
</div>
<%elsif operator? && @sample.status == "submitted" %>
<div class='absolutem'><%=link_to (@sample.status ? "Release Measurement" : "No"),
ReleaseMeasurment_sample_path(@sample), :action => 'solve', :class => 'btn btn-block btn-success' %>
</div>
<%end%>
<table class="table table-bordered table-hover", id = "tb", style="margin-top:50px;margin-left:25px;width:95%">
<thead>
......@@ -137,4 +127,15 @@ $(document).ready(function(){
<%end %>
</tbody>
</table>
<%if @sample.status == "in preparation" %>
<div class='absolute'><%=link_to (@sample.status ? "Submit for Measurement" : "No"),
Measured_sample_path(@sample), :action => 'solve', :class => 'btn btn-block btn-success' %>
</div>
<%elsif operator? && @sample.status == "submitted" %>
<div class='absolutem'><%=link_to (@sample.status ? "Release Measurement" : "No"),
ReleaseMeasurment_sample_path(@sample), :action => 'solve', :class => 'btn btn-block btn-success' %>
</div>
<%end%>
<p><%=link_to "Download PDF", sample_path(@sample, format: "pdf"), target: "_blank" %><p>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment