docbrown/app/views/admin/consumer_apps/_form.html.erb
Rajat Talesra bec8283399
Remove bootstrap from admin/consumer_apps & admin/welcome and use Crayons (#18861)
* Removed bootstrap from admin/consumer_apps

* Removed bootstrap from admin/weclome

* Nit fix

* Minor design fix
2022-12-20 11:48:33 +05:30

21 lines
1 KiB
Text

<div class="flex flex-col gap-4">
<div class="crayons-field">
<%= label_tag :app_bundle, "App Bundle:", class: "crayons-field__label" %>
<%= text_field_tag :app_bundle, @app.app_bundle, class: "crayons-textfield" %>
</div>
<div class="crayons-field">
<%= label_tag :platform, "Platform:", class: "crayons-field_label" %>
<%= select_tag :platform, options_for_select(ConsumerApp.platforms.invert, selected: @app.platform), class: "crayons-select", data: { "consumer-app-target" => "platform", "action" => "consumer-app#checkPlatform" } %>
</div>
<div class="crayons-field">
<%= label_tag :auth_key, "Authentication Key:", class: "crayons-field__label" %>
<%= text_area_tag :auth_key, @app.auth_key, size: "100x10", class: "crayons-textfield" %>
</div>
<div class="crayons-field hidden" data-consumer-app-target="teamId">
<%= label_tag :team_id, "Team ID (Universal Links Support):", class: "crayons-field__label" %>
<%= text_field_tag :team_id, @app.team_id, class: "crayons-textfield" %>
</div>
</div>