Sha256: 2afffc4afff92858da71249dd550b906fd9522bf5c8acfcd8528894840cef53b

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

<%= form_for(@user, html: {role: 'form'}, builder: CitizenBudgetModel::CitizenBudgetFormBuilder) do |f| %>
  <%= f.errors %>
  <%= f.email_field :email %>
<% if admin? %>
  <%= f.select :organization_id, CitizenBudgetModel::Organization.all.map{|o| [o.name, o.id]}, include_blank: true %>
<% end %>
  <%= f.submit %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/citizen_budget_model/users/_form.html.erb
citizen_budget_model-0.0.3 app/views/citizen_budget_model/users/_form.html.erb
citizen_budget_model-0.0.2 app/views/citizen_budget_model/users/_form.html.erb
citizen_budget_model-0.0.1 app/views/citizen_budget_model/users/_form.html.erb