clairelee/directable

View on GitHub
app/views/productions/new.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>

<br>
<br>
<br>
<br>
<br>

<body>
  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <h1>New Production</h1>

        <%= form_for @production, url: productions_path do |f| %>
        
          <p class="notice"><font color = "red"> <%= notice %></font></p><br>
          <br>
          <p class="top_border">
            <%= f.label :name %><br>
            <%= f.text_field :name, :placeholder => 'Enter Name Here', :id => "text-field" %>
          </p>
          <br>
          <p>
            <%= f.label :company %><br>
            <%= f.text_field :company, :placeholder => 'Enter Company Here', :id => "text-field" %>
          </p>
          <br>
          <p>
            <%= f.label :opening_date %><br>
            <%= f.text_field :opening_date, :placeholder => 'Enter Date', :id => "text-field" %>
          </p>
          <br>
          <p>
            <%= f.submit "Create", :id => "buttons-centered"%>
          </p>
           
        <% end %><br>
      </div>
    </div>
  </div>

</body>

</html>