admin-panel 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66df4e9a3092fddf326c23404ad72b5bab8dedb0
4
- data.tar.gz: f6fc832605453bb2cd6adfbae5589313dd9fa162
3
+ metadata.gz: c96a278ce1dccbb7d6fda1287e6f781f03ef4c1f
4
+ data.tar.gz: d530c33c41257ab358903d449cbb981ec8cd3274
5
5
  SHA512:
6
- metadata.gz: ff55ce389b1186867a88e0ea5dcd7855f405c5313a1d69bd78d53a8a3d96db947ce5eae531af1e40982ebe88e4195f68677b9d0159b75ecc5b1fa437fb4f08be
7
- data.tar.gz: 7144c2efae1b7517d346965735ca7e75d2794ced6d4f40b10bea177f30a1852fdace4244e2ea4abf2df4e2f32e3163110fce2e4b8894528e5dfab366904fb5fd
6
+ metadata.gz: 181503a3fce3ae206b4e07916ed74a03d260d708aa70ca22773d5b130b095b05c42946a303d5319d6574f1307df3d89fc800db61c319d77adb9bc328f33753da
7
+ data.tar.gz: 5c3bac9ec7cf6d4370cc628006c5d9d75badec9ad3a1337ce18c52989c14aec8d17bf1531750f403b1c3615e9b0965405d5a9f62e8bbc7792eca5c28382723fc
@@ -1,3 +1,3 @@
1
1
  module AdminPanel
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,4 +1,11 @@
1
- <%%= simple_form_for(<%= "[:#{prefix}, @#{singular_table_name}]" %>) do |f| %>
1
+ <%%= simple_form_for(<%= "[:#{prefix}, @#{singular_table_name}]" %>, html: { class: 'form-horizontal' },
2
+ wrapper: :horizontal_form,
3
+ wrapper_mappings: {
4
+ check_boxes: :horizontal_radio_and_checkboxes,
5
+ radio_buttons: :horizontal_radio_and_checkboxes,
6
+ file: :horizontal_file_input,
7
+ boolean: :horizontal_boolean
8
+ }) do |f| %>
2
9
  <%%= f.error_notification %>
3
10
 
4
11
  <div class="form-inputs">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: admin-panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Matyas