* Add fakeredis gem * Mock Pusher::PushNotifications in specs * Remove Redis from Travis * Add Android tests to ConsumerApp specs * Use mock for push notification tests and refactor ConsumerApp and Device code * Fix remaining broken specs * Use symbols * Cleanup rpush helpers * Pusher::PushNotifications is no more * Use human friendly platform in Admin::ConsumerApps index page
14 lines
556 B
Text
14 lines
556 B
Text
<div class="form-group">
|
|
<%= label_tag :app_bundle, "App Bundle:" %>
|
|
<%= text_field_tag :app_bundle, @app.app_bundle, class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :platform, "Platform:" %>
|
|
<%= select_tag :platform, options_for_select(ConsumerApp.platforms.invert, selected: @app.platform, class: "crayons-select"), class: "crayons-select" %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= label_tag :auth_key, "Authentication Key:" %>
|
|
<%= text_area_tag :auth_key, @app.auth_key, size: "100x10", class: "form-control" %>
|
|
</div>
|