aboutsummaryrefslogtreecommitdiffstats
path: root/views/edit_object.erb
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-06-06 18:15:38 +0300
committerFilipp Lepalaan <f@230.to>2014-06-06 18:15:38 +0300
commit13de2852294a911c24cee79c961ac4011fd13e88 (patch)
tree1c39fbd7e85539c7a81d6cd4cc9bc9ac05972fc9 /views/edit_object.erb
parent86a3727d8558974cbba2d7f6bc16a3dd5c0a7ac5 (diff)
downloadmembrain-master.tar.gz
membrain-master.tar.bz2
membrain-master.zip
Third commitHEADmaster
Diffstat (limited to 'views/edit_object.erb')
-rw-r--r--views/edit_object.erb24
1 files changed, 23 insertions, 1 deletions
diff --git a/views/edit_object.erb b/views/edit_object.erb
index aa44acc..9c066aa 100644
--- a/views/edit_object.erb
+++ b/views/edit_object.erb
@@ -1,7 +1,29 @@
<form action="" method="post">
<div class="form-group">
<label for="exampleInputEmail1">Name</label>
- <input name="name" type="text" class="form-control" placeholder="Name" value="<%= @o.value %>">
+ <input name="title" type="text" class="form-control" placeholder="Name" value="<%= @o.title %>">
+ </div>
+ <div class="form-group">
+ <div class="row">
+ <div class="col-md-6">
+ <select class="form-control" name="keys[]">
+ <option>Lalala</option>
+ </select>
+ </div>
+ <div class="col-md-6">
+ <input class="form-control" type="text" name="values[]"></input>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-6">
+ <select class="form-control" name="keys[]">
+ <option>Bababaa</option>
+ </select>
+ </div>
+ <div class="col-md-6">
+ <input class="form-control" type="text" name="values[]"></input>
+ </div>
+ </div>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>