initial commit
This commit is contained in:
16
whatforlunch.com/app/views/recipes/new.html.erb
Normal file
16
whatforlunch.com/app/views/recipes/new.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<h1>Pravljenje Novog Recepta</h1>
|
||||
|
||||
<%= form_for(@recipe, html: {role: "form"}) do |f| %>
|
||||
|
||||
<div class="form_group row">
|
||||
|
||||
<%= f.label :original_url, class: "col-md-1 control-label" %>
|
||||
<div class="col-md-6">
|
||||
<%= f.url_field :original_url, class: "form-control" %>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<%= f.submit class: "btn btn-success" %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user