Sha256: e6493f828d07047fad72caf941b275538983b5c2ac156a0c69903615b26565e7

Contents?: true

Size: 968 Bytes

Versions: 8

Compression:

Stored size: 968 Bytes

Contents

<div class="container">
<%= simple_form_for([wobauth, @authorizable, @authority],
  html: { class: 'form-horizontal card' }
  ) do |f| %>

  <div class="card-header">
    <%= form_legend %>
  </div>

  <div class="card-body">
    <%= polymorphic_selector(f,
                             'authorizable',
                              Wobauth.authorizable_types,
                              Wobauth.authorizable_group_method) %>
    <%= f.association :role %>
    <%= polymorphic_selector(f,
                             'authorized_for',
                             Wobauth.authorized_for_types,
                             Wobauth.authorized_for_group_method) %>

    <%= f.input :valid_from, as: :string, class: 'datepicker'
     %>
    <%= f.input :valid_until, as: :string, class: 'datepicker'
     %>

    <%= f.button :submit, class: 'btn btn-primary' %>
    <%= cancel_button %>
  </div>
<% end %>
</div>

<%= javascript_include_tag "wobauth/authorities" %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wobauth-5.0.1 app/views/wobauth/authorities/_form.html.erb
wobauth-5.0.0 app/views/wobauth/authorities/_form.html.erb
wobauth-4.0.0 app/views/wobauth/authorities/_form.html.erb
wobauth-3.4.8 app/views/wobauth/authorities/_form.html.erb
wobauth-3.4.7 app/views/wobauth/authorities/_form.html.erb
wobauth-3.4.6 app/views/wobauth/authorities/_form.html.erb
wobauth-3.4.5 app/views/wobauth/authorities/_form.html.erb
wobauth-3.4.4 app/views/wobauth/authorities/_form.html.erb