app/views/phcpresspro/modules/connections/_form.html.erb in phcpresspro-4.1.5 vs app/views/phcpresspro/modules/connections/_form.html.erb in phcpresspro-4.1.6

- old
+ new

@@ -1,17 +1,23 @@ -<%= form_for(modules_connection) do |f| %> - <% if modules_connection.errors.any? %> - <div id="error_explanation"> - <h2><%= pluralize(modules_connection.errors.count, "error") %> prohibited this modules_connection from being saved:</h2> +<div class="row"> + <div class="col-lg-12"> - <ul> - <% modules_connection.errors.full_messages.each do |message| %> - <li><%= message %></li> - <% end %> - </ul> - </div> - <% end %> + <%= form_for(@modules_connection) do |f| %> - <div class="actions"> - <%= f.submit %> - </div> -<% end %> + <div class="form-group"> + <%= f.label :category_id, "Category ID" %> + <%= f.text_field :category_id, class: "form-control" %> + </div> + + <div class="form-group"> + <%= f.label :post_id, "Post ID" %> + <%= f.text_field :post_id, class: "form-control" %> + </div> + + <div class="actions"> + <%= f.submit "Submit", class: "btn btn-primary" %> + </div> + + <% end %> + + </div> +</div>