pseudo_member/app/views/admin/pseudo_members/settings.html.erb

43 lines
1.3 KiB
Plaintext

<% content_for :page_specific_css do %>
<%= stylesheet_link_tag "lib/main-forms" %>
<%= stylesheet_link_tag "lib/main-list" %>
<% end %>
<%= form_for @settings, :url => update_settings_admin_pseudo_member_path(@settings), 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">
<label class="control-label muted"><%= t("pseudo_member.timeout") %></label>
<div class="controls">
<%= f.number_field :timeout, :min => 5 %> &nbsp; Minutes
</div>
</div>
<div class="control-group">
<label class="control-label muted"><%= t("pseudo_member.after_login_path") %></label>
<div class="controls">
<%= f.text_field :member_dashboard_path %>
</div>
</div>
</div>
</div>
</div>
<!-- Form Actions -->
<div class="form-actions">
<%= f.submit t('submit'), class: 'btn btn-primary' %>
</div>
</fieldset>
<% end %>