Browse Source

Use bootstrap button classes for two submit buttons

Maarten van den Berg 7 years ago
parent
commit
dfaaf51b2f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/views/activities/_form.html.erb
  2. 1 1
      app/views/groups/_form.html.erb

+ 1 - 1
app/views/activities/_form.html.erb

44
       <%= f.label :reminder_at %>
44
       <%= f.label :reminder_at %>
45
       <%= f.datetime_field :reminder_at, class: 'form-control' %>
45
       <%= f.datetime_field :reminder_at, class: 'form-control' %>
46
     </div>
46
     </div>
47
-    <%= f.submit %>
47
+    <%= f.submit class: 'btn btn-primary' %>
48
   </div>
48
   </div>
49
 <% end %>
49
 <% end %>

+ 1 - 1
app/views/groups/_form.html.erb

16
       <%= f.label :name %>
16
       <%= f.label :name %>
17
       <%= f.text_field :name, class: 'form-control' %>
17
       <%= f.text_field :name, class: 'form-control' %>
18
     </div>
18
     </div>
19
-    <%= f.submit %>
19
+    <%= f.submit class: 'btn btn-primary' %>
20
   </div>
20
   </div>
21
 <% end %>
21
 <% end %>