Skip to content

Commit

Permalink
add form inet partial
Browse files Browse the repository at this point in the history
  • Loading branch information
tian-im committed Feb 3, 2016
1 parent 68cc0d8 commit a8e989f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/views/wallaby/resources/form/_inet.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="form-group">
<%= form.label field_name, metadata[:label] %>
<div class="row">
<div class="col-xs-6">
<%= form.text_field field_name, class: 'form-control' %>
</div>
</div>
<%= form_field_error_messages object, field_name %>
</div>

0 comments on commit a8e989f

Please sign in to comment.