42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
<% content_for :page_specific_css do %>
|
|
<%= stylesheet_link_tag "lib/main-forms" %>
|
|
<% end %>
|
|
<% content_for :page_specific_javascript do %>
|
|
<% end %>
|
|
<%= form_for @setting, :url => {:action=>"update_setting"}, :html => {:class => 'form-horizontal main-forms'} do |f| %>
|
|
<fieldset>
|
|
<!-- Input Area -->
|
|
<div class="input-area">
|
|
|
|
<!-- Module Tabs -->
|
|
<div class="nav-name"><strong><%= t(:module) %></strong></div>
|
|
<ul class="nav nav-pills module-nav">
|
|
<li class="active">
|
|
<a href="#basic" data-toggle="tab"><%= t(:basic) %></a>
|
|
</li>
|
|
</ul>
|
|
|
|
<!-- Module -->
|
|
<div class="tab-content module-area">
|
|
<!-- Basic Module -->
|
|
<div class="tab-pane fade in active" id="basic">
|
|
<div class="control-group">
|
|
<%= f.label :enable_api , t("client_management.enable_api"), :class => "control-label muted" %>
|
|
<div class="controls">
|
|
<%= f.check_box :enable_api %>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<%= f.label :api_key , t("client_management.api_key"), :class => "control-label muted" %>
|
|
<div class="controls">
|
|
<%= f.text_field :api_key %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-actions">
|
|
<%= f.submit t('submit'), class: 'btn btn-primary' %>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
<% end %> |